summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2015-01-19 23:41:32 +0000
committermillert <millert@openbsd.org>2015-01-19 23:41:32 +0000
commita8c238b04a02d1c814e32f4ba9ff97623214142e (patch)
tree46c123a8b9335fcad94484ae44c2b5841dfd493f
parentPrefer linux_sockaddr over osockaddr, so the latter can go away. (diff)
downloadwireguard-openbsd-a8c238b04a02d1c814e32f4ba9ff97623214142e.tar.xz
wireguard-openbsd-a8c238b04a02d1c814e32f4ba9ff97623214142e.zip
Explicitly mention that PATH_MAX includes the NUL in the ENAMETOOLONG
description.
-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