summaryrefslogtreecommitdiff
path: root/contrib/atf
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-04-06 03:50:58 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-04-06 03:50:58 +0000
commit1d30387920db245bcefde34fc1d3ae0ee49906ca (patch)
treec0125dfc8b929707a4302811c2bd482249e6e736 /contrib/atf
parente90ede1cc89c112923a99f431ba38b2178e15422 (diff)
downloadsrc-test-1d30387920db245bcefde34fc1d3ae0ee49906ca.tar.gz
src-test-1d30387920db245bcefde34fc1d3ae0ee49906ca.zip
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
Notes
Notes: svn path=/head/; revision=316552
Diffstat (limited to 'contrib/atf')
-rw-r--r--contrib/atf/atf-c/atf-c.34
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/atf/atf-c/atf-c.3 b/contrib/atf/atf-c/atf-c.3
index d3e6b90409b1f..d7aa8c382dff5 100644
--- a/contrib/atf/atf-c/atf-c.3
+++ b/contrib/atf/atf-c/atf-c.3
@@ -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