aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-12 23:17:26 +0000
committermarkw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-03-12 23:17:26 +0000
commitc9b6c3ee3241da77a5e154ac33150b384e64b479 (patch)
tree5eef9c7dfc6282f2a91b7ce98b6de7ad7a925bcf
parent98ab5c8cb1e5aff77aa7a4b6049fb4aa3e5a55c7 (diff)
downloadbusybox-w32-c9b6c3ee3241da77a5e154ac33150b384e64b479.tar.gz
busybox-w32-c9b6c3ee3241da77a5e154ac33150b384e64b479.tar.bz2
busybox-w32-c9b6c3ee3241da77a5e154ac33150b384e64b479.zip
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. git-svn-id: svn://busybox.net/trunk/busybox@2050 69ca8d6d-28ef-0310-b511-8ec308f3f277
-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 a2d6053c0..58d436964 100644
--- a/mount.c
+++ b/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);
443singlemount: 444singlemount:
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);
443singlemount: 444singlemount:
444 rc = EXIT_SUCCESS; 445 rc = EXIT_SUCCESS;
445#ifdef BB_NFSMOUNT 446#ifdef BB_NFSMOUNT