summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2009-04-29 19:06:21 +0000
committerderaadt <deraadt@openbsd.org>2009-04-29 19:06:21 +0000
commitb4fd77ebfe56b3c19822f24f7a5a96e15f556323 (patch)
tree7643f4f82474efbcb63a9162a36dfa39ec917f0a /lib/libc
parentRemove the stderr spray balony. Library functions should indicate failure (diff)
downloadwireguard-openbsd-b4fd77ebfe56b3c19822f24f7a5a96e15f556323.tar.xz
wireguard-openbsd-b4fd77ebfe56b3c19822f24f7a5a96e15f556323.zip
document that bogus lines are silently ignored
ok millert
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/getfsent.35
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gen/getfsent.3 b/lib/libc/gen/getfsent.3
index 53784c35ef5..4159caa3160 100644
--- a/lib/libc/gen/getfsent.3
+++ b/lib/libc/gen/getfsent.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getfsent.3,v 1.10 2007/05/31 19:19:28 jmc Exp $
+.\" $OpenBSD: getfsent.3,v 1.11 2009/04/29 19:06:21 deraadt Exp $
.\"
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: April 29 2009 $
.Dt GETFSENT 3
.Os
.Sh NAME
@@ -95,6 +95,7 @@ reads the next entry (opening the file if necessary).
All entries in the file with a type field equivalent to
.Dv FSTAB_XX
are ignored.
+Lines which are formatted incorrectly are silently ignored.
.Sh RETURN VALUES
The
.Fn getfsent ,