summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-04-29 19:06:22 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-04-29 19:06:22 +0000
commit3165d57440e7736e973a07965f617087183190a2 (patch)
tree403b5875f7d7ae484811606b5fcf6fe8471198bc /lib
parent35e67283d67accfb88c5284e0960e1419f50afab (diff)
document that bogus lines are silently ignored
ok millert
Diffstat (limited to 'lib')
-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 ,