summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mount.c1
-rw-r--r--util-linux/mount.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/mount.c b/mount.c
index a2d6053..58d4369 100644
--- a/mount.c
+++ b/mount.c
@@ -440,6 +440,7 @@ 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:
rc = EXIT_SUCCESS;
#ifdef BB_NFSMOUNT
diff --git a/util-linux/mount.c b/util-linux/mount.c
index a2d6053..58d4369 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -440,6 +440,7 @@ 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:
rc = EXIT_SUCCESS;
#ifdef BB_NFSMOUNT