summaryrefslogtreecommitdiffstats
path: root/sbin/mount_msdosfs
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2005-06-01 09:39:36 +0000
committerdelphij <delphij@FreeBSD.org>2005-06-01 09:39:36 +0000
commitee88062325db2da9b1741e828e867ec86a327522 (patch)
tree4c7df792f9460a2623bdeb425db125d58aaff586 /sbin/mount_msdosfs
parent0ea9202ca779a70dcc7372523f417131b5faa684 (diff)
downloadFreeBSD-src-ee88062325db2da9b1741e828e867ec86a327522.zip
FreeBSD-src-ee88062325db2da9b1741e828e867ec86a327522.tar.gz
Add a handy macro to represent null mount option, MOPT_NULL, and make
use of the macro in sbin/mount*'s, by replacing: mopts[] = { MOPT_STDOPTS, { NULL } } With: mopts[] = { MOPT_STDOPTS, MOPT_NULL } This change will help to reduce the situation that we don't explicitly initialize "struct mntopt"'s. It should not contribute to any functional/logical changes as far as I can tell.
Diffstat (limited to 'sbin/mount_msdosfs')
-rw-r--r--sbin/mount_msdosfs/mount_msdosfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/mount_msdosfs/mount_msdosfs.c b/sbin/mount_msdosfs/mount_msdosfs.c
index 58551d3..d5557bb 100644
--- a/sbin/mount_msdosfs/mount_msdosfs.c
+++ b/sbin/mount_msdosfs/mount_msdosfs.c
@@ -73,7 +73,7 @@ static struct mntopt mopts[] = {
{ "shortnames", 0, MSDOSFSMNT_SHORTNAME, 1 },
{ "longnames", 0, MSDOSFSMNT_LONGNAME, 1 },
{ "nowin95", 0, MSDOSFSMNT_NOWIN95, 1 },
- { NULL }
+ MOPT_NULL
};
static gid_t a_gid(char *);
OpenPOWER on IntegriCloud