aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount_msdosfs
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@FreeBSD.org>2006-06-01 02:25:00 +0000
committerCraig Rodrigues <rodrigc@FreeBSD.org>2006-06-01 02:25:00 +0000
commit829b898c7c7cb4a3ada1df414357a18548550659 (patch)
treef0d42e1a04e4b5102490929afe44c9f5d09cc9b9 /sbin/mount_msdosfs
parentd49e4d3f55473274277c9f82535484d209471543 (diff)
Notes
Diffstat (limited to 'sbin/mount_msdosfs')
-rw-r--r--sbin/mount_msdosfs/mount_msdosfs.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sbin/mount_msdosfs/mount_msdosfs.c b/sbin/mount_msdosfs/mount_msdosfs.c
index a4e29d85c8e3..e0c056a7d931 100644
--- a/sbin/mount_msdosfs/mount_msdosfs.c
+++ b/sbin/mount_msdosfs/mount_msdosfs.c
@@ -57,14 +57,6 @@ static const char rcsid[] =
#include "mntopts.h"
-static struct mntopt mopts[] = {
- MOPT_STDOPTS,
- MOPT_FORCE,
- MOPT_SYNC,
- MOPT_UPDATE,
- MOPT_END
-};
-
static gid_t a_gid(char *);
static uid_t a_uid(char *);
static mode_t a_mask(char *);
@@ -78,7 +70,6 @@ main(int argc, char **argv)
int iovlen = 0;
struct stat sb;
int c, mntflags, set_gid, set_uid, set_mask, set_dirmask;
- int optflags = 0;
char *dev, *dir, mntpath[MAXPATHLEN], *csp;
char fstype[] = "msdosfs";
char *cs_dos = NULL;
@@ -136,7 +127,6 @@ main(int argc, char **argv)
case 'o': {
char *p = NULL;
char *val = strdup("");
- getmntopts(optarg, mopts, &mntflags, &optflags);
p = strchr(optarg, '=');
if (p != NULL) {
free(val);