summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mount.c2
-rw-r--r--util-linux/mount.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mount.c b/mount.c
index 58d4369..60509d5 100644
--- a/mount.c
+++ b/mount.c
@@ -440,8 +440,8 @@ extern int mount_main(int argc, char **argv)
device = strdup(m->mnt_fsname);
directory = strdup(m->mnt_dir);
filesystemType = strdup(m->mnt_type);
- string_flags = strdup(string_flags);
singlemount:
+ string_flags = strdup(string_flags);
rc = EXIT_SUCCESS;
#ifdef BB_NFSMOUNT
if (strchr(device, ':') != NULL)
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 58d4369..60509d5 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -440,8 +440,8 @@ extern int mount_main(int argc, char **argv)
device = strdup(m->mnt_fsname);
directory = strdup(m->mnt_dir);
filesystemType = strdup(m->mnt_type);
- string_flags = strdup(string_flags);
singlemount:
+ string_flags = strdup(string_flags);
rc = EXIT_SUCCESS;
#ifdef BB_NFSMOUNT
if (strchr(device, ':') != NULL)