Add patch to actually return 0 on function success. GCC 4.1 trips over

this bug, while gcc 3.4 lets it slide.
This commit is contained in:
Alexander Kabaev 2007-04-11 03:48:04 +00:00
parent b29faa3435
commit ee96700447
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189742

View file

@ -0,0 +1,13 @@
--- a/lib/ext2fs/ismounted.c.orig Tue Apr 10 23:38:42 2007
+++ b/lib/ext2fs/ismounted.c Tue Apr 10 23:41:32 2007
@@ -325,9 +325,9 @@
*mount_flags |= EXT2_MF_BUSY;
} else
close(fd);
+#endif
return 0;
-#endif
}
/*