From 46b7a14ba40ee64e15ab2022897d62484b4cedf6 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Fri, 10 Jun 2005 09:51:43 +0000 Subject: Use MOPT_END in favor of MOPT_NULL, which better describes the purporse of the macro. --- sbin/mount/mntopts.h | 4 ++-- sbin/mount/mount_ufs.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin/mount') diff --git a/sbin/mount/mntopts.h b/sbin/mount/mntopts.h index 8b8e1fbf5ce8..17674da1b600 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 e18247b23860..178dd48ff822 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 -- cgit v1.2.3