summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/mknod.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/mknod.2')
-rw-r--r--lib/libc/sys/mknod.25
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/sys/mknod.2 b/lib/libc/sys/mknod.2
index 27d48b0..a81c1aa 100644
--- a/lib/libc/sys/mknod.2
+++ b/lib/libc/sys/mknod.2
@@ -64,10 +64,7 @@ is ignored.
.Fn Mknod
requires super-user privileges.
.Sh RETURN VALUES
-Upon successful completion a value of 0 is returned.
-Otherwise, a value of -1 is returned and
-.Va errno
-is set to indicate the error.
+.Rv -std mknod
.Sh ERRORS
.Fn Mknod
will fail and the file will be not created if:
OpenPOWER on IntegriCloud