summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3c')
-rw-r--r--usr/src/man/man3c/semaphore.3c2
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