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.
diff --git a/mount.c b/mount.c
index a2d6053..58d4369 100644
--- a/mount.c
+++ b/mount.c
@@ -440,6 +440,7 @@
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 @@
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