summaryrefslogtreecommitdiffstats
path: root/sbin/mount/getmntopts.c
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-07-06 07:12:38 +0000
committercharnier <charnier@FreeBSD.org>1998-07-06 07:12:38 +0000
commitbad732b7002fc7ae6bff5707b8bdfd20d51deb5e (patch)
tree99b860d809c60b59a6e7840ef23725bebef65ec0 /sbin/mount/getmntopts.c
parentfc36ebbafead2d41dcd89cb82e78c842c8a2dce5 (diff)
downloadFreeBSD-src-bad732b7002fc7ae6bff5707b8bdfd20d51deb5e.zip
FreeBSD-src-bad732b7002fc7ae6bff5707b8bdfd20d51deb5e.tar.gz
Remove unused #includes. Spelling. Add rcsid. Do not dot terminate err()
strings.
Diffstat (limited to 'sbin/mount/getmntopts.c')
-rw-r--r--sbin/mount/getmntopts.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/sbin/mount/getmntopts.c b/sbin/mount/getmntopts.c
index 733ef7f..25b8d09 100644
--- a/sbin/mount/getmntopts.c
+++ b/sbin/mount/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)
OpenPOWER on IntegriCloud