diff options
-rw-r--r-- | mount.c | 3 | ||||
-rw-r--r-- | util-linux/mount.c | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -128,7 +128,8 @@ do_mount(char *specialfile, char *dir, char *filesystemtype, | |||
128 | #if defined BB_FEATURE_MOUNT_LOOP | 128 | #if defined BB_FEATURE_MOUNT_LOOP |
129 | if (use_loop==TRUE) { | 129 | if (use_loop==TRUE) { |
130 | int loro = flags & MS_RDONLY; | 130 | int loro = flags & MS_RDONLY; |
131 | char *lofile = specialfile; | 131 | |
132 | lofile = specialfile; | ||
132 | 133 | ||
133 | specialfile = find_unused_loop_device(); | 134 | specialfile = find_unused_loop_device(); |
134 | if (specialfile == NULL) { | 135 | if (specialfile == NULL) { |
diff --git a/util-linux/mount.c b/util-linux/mount.c index 7b0bf3e21..551695b9b 100644 --- a/util-linux/mount.c +++ b/util-linux/mount.c | |||
@@ -128,7 +128,8 @@ do_mount(char *specialfile, char *dir, char *filesystemtype, | |||
128 | #if defined BB_FEATURE_MOUNT_LOOP | 128 | #if defined BB_FEATURE_MOUNT_LOOP |
129 | if (use_loop==TRUE) { | 129 | if (use_loop==TRUE) { |
130 | int loro = flags & MS_RDONLY; | 130 | int loro = flags & MS_RDONLY; |
131 | char *lofile = specialfile; | 131 | |
132 | lofile = specialfile; | ||
132 | 133 | ||
133 | specialfile = find_unused_loop_device(); | 134 | specialfile = find_unused_loop_device(); |
134 | if (specialfile == NULL) { | 135 | if (specialfile == NULL) { |