summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libc/sys/mknod.25
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libc/sys/mknod.2 b/lib/libc/sys/mknod.2
index 2fa6342..76d73ef 100644
--- a/lib/libc/sys/mknod.2
+++ b/lib/libc/sys/mknod.2
@@ -108,6 +108,11 @@ The named file exists.
.It Bq Er EFAULT
.Fa Path
points outside the process's allocated address space.
+.It Bq Er EINVAL
+Creating anything else than a block or character special
+file (or a
+.Em whiteout )
+is not supported.
.El
.Sh SEE ALSO
.Xr chmod 2 ,
OpenPOWER on IntegriCloud