diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/mount/mntopts.h | 4 | ||||
-rw-r--r-- | sbin/mount/mount_ufs.c | 2 | ||||
-rw-r--r-- | sbin/mount_cd9660/mount_cd9660.c | 2 | ||||
-rw-r--r-- | sbin/mount_ext2fs/mount_ext2fs.c | 2 | ||||
-rw-r--r-- | sbin/mount_hpfs/mount_hpfs.c | 2 | ||||
-rw-r--r-- | sbin/mount_msdosfs/mount_msdosfs.c | 2 | ||||
-rw-r--r-- | sbin/mount_nfs/mount_nfs.c | 2 | ||||
-rw-r--r-- | sbin/mount_nfs4/mount_nfs4.c | 2 | ||||
-rw-r--r-- | sbin/mount_ntfs/mount_ntfs.c | 2 | ||||
-rw-r--r-- | sbin/mount_nullfs/mount_nullfs.c | 2 | ||||
-rw-r--r-- | sbin/mount_reiserfs/mount_reiserfs.c | 2 | ||||
-rw-r--r-- | sbin/mount_std/mount_std.c | 2 | ||||
-rw-r--r-- | sbin/mount_udf/mount_udf.c | 2 | ||||
-rw-r--r-- | sbin/mount_ufs/mount_ufs.c | 2 | ||||
-rw-r--r-- | sbin/mount_umapfs/mount_umapfs.c | 2 | ||||
-rw-r--r-- | sbin/mount_unionfs/mount_unionfs.c | 2 |
16 files changed, 17 insertions, 17 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 diff --git a/sbin/mount_cd9660/mount_cd9660.c b/sbin/mount_cd9660/mount_cd9660.c index 4a6461a6b64d..1633f4fd6d82 100644 --- a/sbin/mount_cd9660/mount_cd9660.c +++ b/sbin/mount_cd9660/mount_cd9660.c @@ -77,7 +77,7 @@ struct mntopt mopts[] = { { "rrip", 1, ISOFSMNT_NORRIP, 1 }, { "joliet", 1, ISOFSMNT_NOJOLIET, 1 }, { "strictjoliet", 1, ISOFSMNT_BROKENJOLIET, 1 }, - MOPT_NULL + MOPT_END }; int get_ssector(const char *dev); diff --git a/sbin/mount_ext2fs/mount_ext2fs.c b/sbin/mount_ext2fs/mount_ext2fs.c index a74a5d72fdf4..4e72454d177a 100644 --- a/sbin/mount_ext2fs/mount_ext2fs.c +++ b/sbin/mount_ext2fs/mount_ext2fs.c @@ -60,7 +60,7 @@ struct mntopt mopts[] = { MOPT_FORCE, MOPT_SYNC, MOPT_UPDATE, - MOPT_NULL + MOPT_END }; static void usage(void) __dead2; diff --git a/sbin/mount_hpfs/mount_hpfs.c b/sbin/mount_hpfs/mount_hpfs.c index 150dfd1313a6..a9a87e238881 100644 --- a/sbin/mount_hpfs/mount_hpfs.c +++ b/sbin/mount_hpfs/mount_hpfs.c @@ -50,7 +50,7 @@ static struct mntopt mopts[] = { MOPT_STDOPTS, - MOPT_NULL + MOPT_END }; static gid_t a_gid(char *); diff --git a/sbin/mount_msdosfs/mount_msdosfs.c b/sbin/mount_msdosfs/mount_msdosfs.c index d5557bba4f5c..c73b438d2320 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 }, - MOPT_NULL + MOPT_END }; static gid_t a_gid(char *); diff --git a/sbin/mount_nfs/mount_nfs.c b/sbin/mount_nfs/mount_nfs.c index 4af2d6595586..a2e058649447 100644 --- a/sbin/mount_nfs/mount_nfs.c +++ b/sbin/mount_nfs/mount_nfs.c @@ -121,7 +121,7 @@ struct mntopt mopts[] = { { "lockd", 1, ALTF_NOLOCKD, 1 }, { "inet4", 1, ALTF_NOINET4, 1 }, { "inet6", 1, ALTF_NOINET6, 1 }, - MOPT_NULL + MOPT_END }; struct nfs_args nfsdefargs = { diff --git a/sbin/mount_nfs4/mount_nfs4.c b/sbin/mount_nfs4/mount_nfs4.c index 683fb93276ab..94d0d935d507 100644 --- a/sbin/mount_nfs4/mount_nfs4.c +++ b/sbin/mount_nfs4/mount_nfs4.c @@ -151,7 +151,7 @@ struct mntopt mopts[] = { { "lockd", 1, ALTF_NOLOCKD, 1 }, { "inet4", 1, ALTF_NOINET4, 1 }, { "inet6", 1, ALTF_NOINET6, 1 }, - MOPT_NULL + MOPT_END }; struct nfs_args nfsdefargs = { diff --git a/sbin/mount_ntfs/mount_ntfs.c b/sbin/mount_ntfs/mount_ntfs.c index 49db87dc92e7..4bd118f2b527 100644 --- a/sbin/mount_ntfs/mount_ntfs.c +++ b/sbin/mount_ntfs/mount_ntfs.c @@ -58,7 +58,7 @@ static struct mntopt mopts[] = { MOPT_STDOPTS, - MOPT_NULL + MOPT_END }; static gid_t a_gid(char *); diff --git a/sbin/mount_nullfs/mount_nullfs.c b/sbin/mount_nullfs/mount_nullfs.c index 8fefe1616952..410562469172 100644 --- a/sbin/mount_nullfs/mount_nullfs.c +++ b/sbin/mount_nullfs/mount_nullfs.c @@ -59,7 +59,7 @@ static const char rcsid[] = struct mntopt mopts[] = { MOPT_STDOPTS, - MOPT_NULL + MOPT_END }; int subdir(const char *, const char *); diff --git a/sbin/mount_reiserfs/mount_reiserfs.c b/sbin/mount_reiserfs/mount_reiserfs.c index 34dc46353c48..b7c71ad01457 100644 --- a/sbin/mount_reiserfs/mount_reiserfs.c +++ b/sbin/mount_reiserfs/mount_reiserfs.c @@ -41,7 +41,7 @@ struct mntopt mopts[] = { MOPT_STDOPTS, - MOPT_NULL + MOPT_END }; void usage(void); diff --git a/sbin/mount_std/mount_std.c b/sbin/mount_std/mount_std.c index 601cab4b1a24..ec8041d241c7 100644 --- a/sbin/mount_std/mount_std.c +++ b/sbin/mount_std/mount_std.c @@ -59,7 +59,7 @@ static const char rcsid[] = static struct mntopt mopts[] = { MOPT_STDOPTS, - MOPT_NULL + MOPT_END }; static char *fsname; diff --git a/sbin/mount_udf/mount_udf.c b/sbin/mount_udf/mount_udf.c index 4c8dbef59ac8..0175f20f24fd 100644 --- a/sbin/mount_udf/mount_udf.c +++ b/sbin/mount_udf/mount_udf.c @@ -64,7 +64,7 @@ struct mntopt mopts[] = { MOPT_STDOPTS, MOPT_UPDATE, - MOPT_NULL + MOPT_END }; int set_charset(char **, char **, const char *); diff --git a/sbin/mount_ufs/mount_ufs.c b/sbin/mount_ufs/mount_ufs.c index 6043b1f049cd..4292af4c120c 100644 --- a/sbin/mount_ufs/mount_ufs.c +++ b/sbin/mount_ufs/mount_ufs.c @@ -61,7 +61,7 @@ struct mntopt mopts[] = { MOPT_SYNC, MOPT_UPDATE, MOPT_SNAPSHOT, - MOPT_NULL + MOPT_END }; void usage(void); diff --git a/sbin/mount_umapfs/mount_umapfs.c b/sbin/mount_umapfs/mount_umapfs.c index eb932fa6802e..b16cf10a98da 100644 --- a/sbin/mount_umapfs/mount_umapfs.c +++ b/sbin/mount_umapfs/mount_umapfs.c @@ -79,7 +79,7 @@ static const char rcsid[] = static struct mntopt mopts[] = { MOPT_STDOPTS, - MOPT_NULL + MOPT_END }; static void usage(void) __dead2; diff --git a/sbin/mount_unionfs/mount_unionfs.c b/sbin/mount_unionfs/mount_unionfs.c index 9c541c6d37af..7b619eaf57fd 100644 --- a/sbin/mount_unionfs/mount_unionfs.c +++ b/sbin/mount_unionfs/mount_unionfs.c @@ -60,7 +60,7 @@ static const char rcsid[] = static struct mntopt mopts[] = { MOPT_STDOPTS, - MOPT_NULL + MOPT_END }; static int subdir(const char *, const char *); |