diff options
-rw-r--r-- | mount.c | 1 | ||||
-rw-r--r-- | util-linux/mount.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -440,6 +440,7 @@ extern int mount_main(int argc, char **argv) | |||
440 | device = strdup(m->mnt_fsname); | 440 | device = strdup(m->mnt_fsname); |
441 | directory = strdup(m->mnt_dir); | 441 | directory = strdup(m->mnt_dir); |
442 | filesystemType = strdup(m->mnt_type); | 442 | filesystemType = strdup(m->mnt_type); |
443 | string_flags = strdup(string_flags); | ||
443 | singlemount: | 444 | singlemount: |
444 | rc = EXIT_SUCCESS; | 445 | rc = EXIT_SUCCESS; |
445 | #ifdef BB_NFSMOUNT | 446 | #ifdef BB_NFSMOUNT |
diff --git a/util-linux/mount.c b/util-linux/mount.c index a2d6053c0..58d436964 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -440,6 +440,7 @@ extern int mount_main(int argc, char **argv) | |||
440 | device = strdup(m->mnt_fsname); | 440 | device = strdup(m->mnt_fsname); |
441 | directory = strdup(m->mnt_dir); | 441 | directory = strdup(m->mnt_dir); |
442 | filesystemType = strdup(m->mnt_type); | 442 | filesystemType = strdup(m->mnt_type); |
443 | string_flags = strdup(string_flags); | ||
443 | singlemount: | 444 | singlemount: |
444 | rc = EXIT_SUCCESS; | 445 | rc = EXIT_SUCCESS; |
445 | #ifdef BB_NFSMOUNT | 446 | #ifdef BB_NFSMOUNT |