summaryrefslogtreecommitdiffstats
path: root/sbin/mount
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2005-06-10 09:51:43 +0000
committerdelphij <delphij@FreeBSD.org>2005-06-10 09:51:43 +0000
commit5173bfd387bd8bedfdc02dd719466c21427d9216 (patch)
tree0e6a4ab8b8aa5578febfa41f0a076ce9ae4cf5a8 /sbin/mount
parentaaea0db09900b2d37eac80912e4997bdb8ca9e6d (diff)
downloadFreeBSD-src-5173bfd387bd8bedfdc02dd719466c21427d9216.zip
FreeBSD-src-5173bfd387bd8bedfdc02dd719466c21427d9216.tar.gz
Use MOPT_END in favor of MOPT_NULL, which better describes the purporse
of the macro.
Diffstat (limited to 'sbin/mount')
-rw-r--r--sbin/mount/mntopts.h4
-rw-r--r--sbin/mount/mount_ufs.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sbin/mount/mntopts.h b/sbin/mount/mntopts.h
index 8b8e1fb..17674da 100644
--- a/sbin/mount/mntopts.h
+++ b/sbin/mount/mntopts.h
@@ -65,8 +65,8 @@ struct mntopt {
/* This is parsed by mount(8), but is ignored by specific mount_*(8)s. */
#define MOPT_AUTO { "auto", 0, 0, 0 }
-/* A handy macro as terminator of MNT_ array */
-#define MOPT_NULL { NULL, 0, 0, 0 }
+/* A handy macro as terminator of MNT_ array. */
+#define MOPT_END { NULL, 0, 0, 0 }
#define MOPT_FSTAB_COMPAT \
MOPT_RO, \
diff --git a/sbin/mount/mount_ufs.c b/sbin/mount/mount_ufs.c
index e18247b..178dd48 100644
--- a/sbin/mount/mount_ufs.c
+++ b/sbin/mount/mount_ufs.c
@@ -64,7 +64,7 @@ static struct mntopt mopts[] = {
MOPT_SYNC,
MOPT_UPDATE,
MOPT_SNAPSHOT,
- MOPT_NULL
+ MOPT_END
};
int
OpenPOWER on IntegriCloud