Whamcloud - gitweb
Fix non-Linux compiler warning (missing return statement).
authorMatthias Andree <matthias.andree@gmx.de>
Tue, 30 May 2006 14:28:22 +0000 (16:28 +0200)
committerMatthias Andree <matthias.andree@gmx.de>
Tue, 30 May 2006 14:28:22 +0000 (16:28 +0200)
Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
lib/ext2fs/ismounted.c

index 5d32de0..24246e0 100644 (file)
@@ -325,9 +325,9 @@ errcode_t ext2fs_check_mount_point(const char *device, int *mount_flags,
                        *mount_flags |= EXT2_MF_BUSY;
        } else
                close(fd);
+#endif
 
        return 0;
-#endif
 }
 
 /*