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:
parent
b29faa3435
commit
ee96700447
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=189742
1 changed files with 13 additions and 0 deletions
13
sysutils/e2fsprogs/files/patch-lib_ext2fs_ismounted.c
Normal file
13
sysutils/e2fsprogs/files/patch-lib_ext2fs_ismounted.c
Normal 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
|
||||
}
|
||||
|
||||
/*
|
Loading…
Reference in a new issue