summaryrefslogtreecommitdiff
path: root/mount.c
diff options
context:
space:
mode:
authorMark Whitley2001-03-12 23:17:26 +0000
committerMark Whitley2001-03-12 23:17:26 +0000
commitbd2e42f162dfd90b4356ace9e60410832e972a68 (patch)
tree5eef9c7dfc6282f2a91b7ce98b6de7ad7a925bcf /mount.c
parent94fd480babd9e9a3bc7c981fa2e1cca8ffe9cd60 (diff)
downloadbusybox-bd2e42f162dfd90b4356ace9e60410832e972a68.zip
busybox-bd2e42f162dfd90b4356ace9e60410832e972a68.tar.gz
Applied a patch from Brian Webb to fix a problem with mount on the Agenda PDA.
Apparently, the mount() call does not like taking a stack allocated pointer.
Diffstat (limited to 'mount.c')
-rw-r--r--mount.c1
1 files changed, 1 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