diff options
author | Xin LI <delphij@FreeBSD.org> | 2005-06-10 09:51:43 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2005-06-10 09:51:43 +0000 |
commit | 46b7a14ba40ee64e15ab2022897d62484b4cedf6 (patch) | |
tree | 0e6a4ab8b8aa5578febfa41f0a076ce9ae4cf5a8 /sbin/mount | |
parent | 6dded714b5f8729cf365ae14fb6c3a7dd1a30422 (diff) | |
download | src-46b7a14ba40ee64e15ab2022897d62484b4cedf6.tar.gz src-46b7a14ba40ee64e15ab2022897d62484b4cedf6.zip |
Use MOPT_END in favor of MOPT_NULL, which better describes the purporse
of the macro.
Notes
Notes:
svn path=/head/; revision=147242
Diffstat (limited to 'sbin/mount')
-rw-r--r-- | sbin/mount/mntopts.h | 4 | ||||
-rw-r--r-- | sbin/mount/mount_ufs.c | 2 |
2 files changed, 3 insertions, 3 deletions
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 |