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

index 61ceba82980c25bf90c1fc4b766bb50f691d4e3f..88baf3f9dd136890ea4b5e2bad56ed0ec7484ddd 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);