diff options
Diffstat (limited to 'util-linux/mount.c')
-rw-r--r-- | util-linux/mount.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c index c76f6ef61..13590ceb4 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -268,7 +268,7 @@ enum { | |||
268 | }; | 268 | }; |
269 | 269 | ||
270 | 270 | ||
271 | #define OPTION_STR "o:t:rwanfvsiO:" IF_FEATURE_MOUNT_OTHERTAB("T:") | 271 | #define OPTION_STR "o:*t:rwanfvsiO:" IF_FEATURE_MOUNT_OTHERTAB("T:") |
272 | enum { | 272 | enum { |
273 | OPT_o = (1 << 0), | 273 | OPT_o = (1 << 0), |
274 | OPT_t = (1 << 1), | 274 | OPT_t = (1 << 1), |
@@ -2058,7 +2058,7 @@ static int singlemount(struct mntent *mp, int ignore_busy) | |||
2058 | del_loop(mp->mnt_fsname); | 2058 | del_loop(mp->mnt_fsname); |
2059 | if (ENABLE_FEATURE_CLEAN_UP) { | 2059 | if (ENABLE_FEATURE_CLEAN_UP) { |
2060 | free(loopFile); | 2060 | free(loopFile); |
2061 | free(mp->mnt_fsname); | 2061 | /* No, "rc != 0" needs it: free(mp->mnt_fsname); */ |
2062 | } | 2062 | } |
2063 | } | 2063 | } |
2064 | 2064 | ||
@@ -2167,7 +2167,7 @@ int mount_main(int argc UNUSED_PARAM, char **argv) | |||
2167 | 2167 | ||
2168 | // Parse remaining options | 2168 | // Parse remaining options |
2169 | // Max 2 params; -o is a list, -v is a counter | 2169 | // Max 2 params; -o is a list, -v is a counter |
2170 | opt_complementary = "?2o::" IF_FEATURE_MOUNT_VERBOSE("vv"); | 2170 | opt_complementary = "?2" IF_FEATURE_MOUNT_VERBOSE("vv"); |
2171 | opt = getopt32(argv, OPTION_STR, &lst_o, &fstype, &O_optmatch | 2171 | opt = getopt32(argv, OPTION_STR, &lst_o, &fstype, &O_optmatch |
2172 | IF_FEATURE_MOUNT_OTHERTAB(, &fstabname) | 2172 | IF_FEATURE_MOUNT_OTHERTAB(, &fstabname) |
2173 | IF_FEATURE_MOUNT_VERBOSE(, &verbose)); | 2173 | IF_FEATURE_MOUNT_VERBOSE(, &verbose)); |