summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-01-19 23:41:33 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-01-19 23:41:33 +0000
commit6a827c037a2bc08e024cdba89a70bd34fdfad588 (patch)
tree6f1825e6e950919b7a16af1ceabae6e8c1882d6d /lib/libc/sys
parent716b7e01891f1ce452631d0f886c03b73db6af11 (diff)
Explicitly mention that PATH_MAX includes the NUL in the ENAMETOOLONG
description.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/mount.213
1 files changed, 7 insertions, 6 deletions
diff --git a/lib/libc/sys/mount.2 b/lib/libc/sys/mount.2
index f51b5070f63..bbb8e26010c 100644
--- a/lib/libc/sys/mount.2
+++ b/lib/libc/sys/mount.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mount.2,v 1.42 2014/12/10 19:19:00 schwarze Exp $
+.\" $OpenBSD: mount.2,v 1.43 2015/01/19 23:41:32 millert Exp $
.\" $NetBSD: mount.2,v 1.12 1996/02/29 23:47:48 jtc Exp $
.\"
.\" Copyright (c) 1980, 1989, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)mount.2 8.2 (Berkeley) 12/11/93
.\"
-.Dd $Mdocdate: December 10 2014 $
+.Dd $Mdocdate: January 19 2015 $
.Dt MOUNT 2
.Os
.Sh NAME
@@ -366,10 +366,11 @@ A component of the path is not a directory.
An argument given was invalid.
.It Bq Er ENAMETOOLONG
A component of a pathname exceeded
-.Dv {NAME_MAX}
-characters, or an entire path name exceeded
-.Dv {PATH_MAX}
-characters.
+.Dv NAME_MAX
+characters, or an entire pathname (including the terminating NUL)
+exceeded
+.Dv PATH_MAX
+bytes.
.It Bq Er ELOOP
Too many symbolic links were encountered in translating the pathname.
.It Bq Er EINVAL