summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorrse <rse@FreeBSD.org>2004-12-03 14:10:04 +0000
committerrse <rse@FreeBSD.org>2004-12-03 14:10:04 +0000
commit181d4dfad71dede70194d972dd42b816372b0fe6 (patch)
tree413804bfbe25d3b61500ac46bda82ac1655c6e26 /lib
parent9dbfc36b858335cc86b1060b56b339c203837b98 (diff)
downloadFreeBSD-src-181d4dfad71dede70194d972dd42b816372b0fe6.zip
FreeBSD-src-181d4dfad71dede70194d972dd42b816372b0fe6.tar.gz
Fix description: the argument to setcontext(3) must have been previously
initialized "by a call to getcontext(3) or makecontext(3)" and not "by a call to setcontext(3) or makecontext(3)". MFC after: 3 days
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/getcontext.32
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getcontext.3 b/lib/libc/gen/getcontext.3
index 789b232..2fda6b8 100644
--- a/lib/libc/gen/getcontext.3
+++ b/lib/libc/gen/getcontext.3
@@ -68,7 +68,7 @@ does not return.
Instead, execution continues in the context specified by
.Fa ucp ,
which must have been previously initialized by a call to
-.Fn setcontext ,
+.Fn getcontext ,
.Xr makecontext 3 ,
or by being passed as an argument to a signal handler (see
.Xr sigaction 2 ) .
OpenPOWER on IntegriCloud