summaryrefslogtreecommitdiff
path: root/lib/libc/gen/setmode.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/setmode.3')
-rw-r--r--lib/libc/gen/setmode.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/gen/setmode.3 b/lib/libc/gen/setmode.3
index d6f49df1122..ef87d927a26 100644
--- a/lib/libc/gen/setmode.3
+++ b/lib/libc/gen/setmode.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setmode.3,v 1.11 2004/07/02 16:10:52 jmc Exp $
+.\" $OpenBSD: setmode.3,v 1.12 2005/10/26 20:37:13 otto Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -91,7 +91,9 @@ for any of the errors specified for the library routine
.Xr malloc 3
or to
.Er ERANGE
-if an invalid octal value was specified.
+if an invalid octal value was specified, or
+.Er EINVAL
+if an invalid symbolic value was specified.
.Sh SEE ALSO
.Xr chmod 1 ,
.Xr stat 2 ,