aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_ifs/getmntopts.c
diff options
context:
space:
mode:
authorPhilippe Charnier <charnier@FreeBSD.org>1998-07-06 07:12:38 +0000
committerPhilippe Charnier <charnier@FreeBSD.org>1998-07-06 07:12:38 +0000
commitbcb1d8469db6e7e2f171898c3bd97c025101c345 (patch)
tree59f7aabb1c0c941479b8bf0e452f059a988a6db2 /sbin/mount_ifs/getmntopts.c
parent6b5bcce5dcbf0ffdb28437a48920127184c20074 (diff)
downloadsrc-bcb1d8469db6e7e2f171898c3bd97c025101c345.tar.gz
src-bcb1d8469db6e7e2f171898c3bd97c025101c345.zip
Remove unused #includes. Spelling. Add rcsid. Do not dot terminate err()
strings.
Notes
Notes: svn path=/head/; revision=37425
Diffstat (limited to 'sbin/mount_ifs/getmntopts.c')
-rw-r--r--sbin/mount_ifs/getmntopts.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sbin/mount_ifs/getmntopts.c b/sbin/mount_ifs/getmntopts.c
index 733ef7f7acc9..25b8d090c128 100644
--- a/sbin/mount_ifs/getmntopts.c
+++ b/sbin/mount_ifs/getmntopts.c
@@ -36,20 +36,16 @@
static char sccsid[] = "@(#)getmntopts.c 8.3 (Berkeley) 3/29/95";
#else
static const char rcsid[] =
- "$Id$";
+ "$Id: getmntopts.c,v 1.6 1997/08/24 21:02:47 steve Exp $";
#endif
#endif /* not lint */
#include <sys/param.h>
-#include <sys/mount.h>
#include <err.h>
-#include <errno.h>
-#include <fstab.h>
#include <stdlib.h>
#include <string.h>
-#include "extern.h"
#include "mntopts.h"
int getmnt_silent = 0;
@@ -96,7 +92,7 @@ getmntopts(options, m0, flagp, altflagp)
break;
}
- /* Save flag, or fail if option is not recognised. */
+ /* Save flag, or fail if option is not recognized. */
if (m->m_option) {
thisflagp = m->m_altloc ? altflagp : flagp;
if (negative == m->m_inverse)