summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-05-26 14:05:48 +0000
committerBernhard Reutner-Fischer2006-05-26 14:05:48 +0000
commit08421e1d0cf1938947553b02b0788b09e11e5c0d (patch)
treefd2873bd9200a0a40ed37b874e5b5633e78ef8c1
parent8379053b11aa616f47003c33afa44353f4a74f8f (diff)
downloadbusybox-08421e1d0cf1938947553b02b0788b09e11e5c0d.zip
busybox-08421e1d0cf1938947553b02b0788b09e11e5c0d.tar.gz
- work around bug in gcc-3.4.x on ARM
-rw-r--r--util-linux/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mount.c b/util-linux/mount.c
index 4bd6433..a191f32 100644
--- a/util-linux/mount.c
+++ b/util-linux/mount.c
@@ -351,7 +351,7 @@ static int singlemount(struct mntent *mp)
// If mount failed, clean up loop file (if any).
- if (rc && loopFile) {
+ if (ENABLE_FEATURE_MOUNT_LOOP && rc && loopFile) {
del_loop(mp->mnt_fsname);
if (ENABLE_FEATURE_CLEAN_UP) {
free(loopFile);