atf-c: fix documentation description for atf_utils_wait(3)

atf_utils_wait(3) should be used in combination with atf_utils_fork(3),
not itself (atf_utils_wait(3)).

MFC after:	2 months
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Enji Cooper 2017-04-06 03:50:58 +00:00
parent e90ede1cc8
commit 1d30387920
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=316552

View file

@ -22,7 +22,7 @@
.\" IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
.\" OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
.\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.Dd March 6, 2017
.Dd April 5, 2017
.Dt ATF-C 3
.Os
.Sh NAME
@ -680,7 +680,7 @@ those spawned by
.Fc
.Bd -ragged -offset indent
Waits and validates the result of a subprocess spawned with
.Fn atf_utils_wait .
.Fn atf_utils_fork .
The validation involves checking that the subprocess exited cleanly and returned
the code specified in
.Fa expected_exit_status