- work around bug in gcc-3.4.x on ARM
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 26 May 2006 14:05:48 +0000 (14:05 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Fri, 26 May 2006 14:05:48 +0000 (14:05 -0000)
util-linux/mount.c

index 4bd6433ca65e94d2f3ee4a6569e2f62606662127..a191f3260e8c42eaa86f29d980223adc746320eb 100644 (file)
@@ -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);