The patch I previously applied from Brian Webb was 2 lines off. Oops.
authorMark Whitley <markw@lineo.com>
Wed, 14 Mar 2001 17:30:44 +0000 (17:30 -0000)
committerMark Whitley <markw@lineo.com>
Wed, 14 Mar 2001 17:30:44 +0000 (17:30 -0000)
mount.c
util-linux/mount.c

diff --git a/mount.c b/mount.c
index 58d43696416142914c109b1627ce6306dff6de96..60509d5f3bc9a654ffe13d04e0f5856d3699fdb1 100644 (file)
--- a/mount.c
+++ b/mount.c
@@ -440,8 +440,8 @@ 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:                   
+                       string_flags = strdup(string_flags);
                        rc = EXIT_SUCCESS;
 #ifdef BB_NFSMOUNT
                        if (strchr(device, ':') != NULL)
index 58d43696416142914c109b1627ce6306dff6de96..60509d5f3bc9a654ffe13d04e0f5856d3699fdb1 100644 (file)
@@ -440,8 +440,8 @@ 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:                   
+                       string_flags = strdup(string_flags);
                        rc = EXIT_SUCCESS;
 #ifdef BB_NFSMOUNT
                        if (strchr(device, ':') != NULL)