aboutsummaryrefslogtreecommitdiffstats
path: root/tools/e2fsprogs/patches
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2010-11-22 11:26:45 +0000
committerImre Kaloz <kaloz@openwrt.org>2010-11-22 11:26:45 +0000
commit49a0179e21506b9d6876e56c8dcd845a144169b9 (patch)
treee489bcbba56c3e8fcce4b787a4d2fa280210e1a5 /tools/e2fsprogs/patches
parent7a8be69ce6a19273a4ce0776a183bfff3b19d83f (diff)
downloadupstream-49a0179e21506b9d6876e56c8dcd845a144169b9.tar.gz
upstream-49a0179e21506b9d6876e56c8dcd845a144169b9.tar.bz2
upstream-49a0179e21506b9d6876e56c8dcd845a144169b9.zip
add e2fsprogs to tools and use that instead of libuuid
SVN-Revision: 24078
Diffstat (limited to 'tools/e2fsprogs/patches')
-rw-r--r--tools/e2fsprogs/patches/001-exit_0_on_corrected_errors.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/e2fsprogs/patches/001-exit_0_on_corrected_errors.patch b/tools/e2fsprogs/patches/001-exit_0_on_corrected_errors.patch
new file mode 100644
index 0000000000..4dbece5cef
--- /dev/null
+++ b/tools/e2fsprogs/patches/001-exit_0_on_corrected_errors.patch
@@ -0,0 +1,11 @@
+--- a/e2fsck/e2fsck.h
++++ b/e2fsck/e2fsck.h
+@@ -65,7 +65,7 @@
+ * Exit codes used by fsck-type programs
+ */
+ #define FSCK_OK 0 /* No errors */
+-#define FSCK_NONDESTRUCT 1 /* File system errors corrected */
++#define FSCK_NONDESTRUCT 0 /* File system errors corrected */
+ #define FSCK_REBOOT 2 /* System should be rebooted */
+ #define FSCK_UNCORRECTED 4 /* File system errors left uncorrected */
+ #define FSCK_ERROR 8 /* Operational error */