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
commit276290e86b15e9ab54e886bc6cf99f8630cab382 (patch)
treef0d684b5885644463133c3b0717a5ffbcf286aec /tools/e2fsprogs/patches
parent62a0e46e6230efb8cf7c9cdab5caee8f65d0b71d (diff)
downloadupstream-276290e86b15e9ab54e886bc6cf99f8630cab382.tar.gz
upstream-276290e86b15e9ab54e886bc6cf99f8630cab382.tar.bz2
upstream-276290e86b15e9ab54e886bc6cf99f8630cab382.zip
[tools]: add e2fsprogs to tools and use that instead of libuuid
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24078 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 */