diff options
author | William Dowling <wmdowling@gmail.com> | 2014-05-29 11:46:34 -0700 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2014-05-29 11:46:34 -0700 |
commit | 3fabe5138cfcd4ff6438a18be90e712cd6cbb7ff (patch) | |
tree | 56d2021c3247dcb523fbbeecc97ad97613d1f7ff /usr/src/man/man3c | |
parent | fb7001f1cd0ee8c6cacc800126125242e40ecbd4 (diff) | |
download | illumos-joyent-3fabe5138cfcd4ff6438a18be90e712cd6cbb7ff.tar.gz |
4829 sema_init(3C) botches the arguments in an example
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r-- | usr/src/man/man3c/semaphore.3c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/man/man3c/semaphore.3c b/usr/src/man/man3c/semaphore.3c index a7f44daf27..28adffc861 100644 --- a/usr/src/man/man3c/semaphore.3c +++ b/usr/src/man/man3c/semaphore.3c @@ -106,7 +106,7 @@ Default semaphore initialization (intra-process): .nf sema_t sp; int count = 1; -sema_init(&sp, count, NULL, NULL); +sema_init(&sp, count, 0, NULL); .fi .in -2 |