summaryrefslogtreecommitdiffstats
path: root/include/exitcodes.h
diff options
context:
space:
mode:
authorKarel Zak2012-02-13 15:37:58 +0100
committerKarel Zak2012-03-20 11:22:08 +0100
commite50ad218388615667bffa763380fda600b0cec02 (patch)
treee6010295ea37fa0a771d7d886a4f7fd3fb12404d /include/exitcodes.h
parentfsck: cosmetic changes in coding style (diff)
downloadkernel-qcow2-util-linux-e50ad218388615667bffa763380fda600b0cec02.tar.gz
kernel-qcow2-util-linux-e50ad218388615667bffa763380fda600b0cec02.tar.xz
kernel-qcow2-util-linux-e50ad218388615667bffa763380fda600b0cec02.zip
include/exitcodes: add FSCK_DESTRUCT alias
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/exitcodes.h')
-rw-r--r--include/exitcodes.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/exitcodes.h b/include/exitcodes.h
index dbbac37f5..ec73aca1f 100644
--- a/include/exitcodes.h
+++ b/include/exitcodes.h
@@ -10,6 +10,7 @@
#define FSCK_OK 0 /* No errors */
#define FSCK_NONDESTRUCT 1 /* File system errors corrected */
#define FSCK_REBOOT 2 /* System should be rebooted */
+#define FSCK_DESTRUCT FSCK_REBOOT /* Alias */
#define FSCK_UNCORRECTED 4 /* File system errors left uncorrected */
#define FSCK_ERROR 8 /* Operational error */
#define FSCK_USAGE 16 /* Usage or syntax error */
@@ -25,4 +26,6 @@
#define MOUNT_EX_FAIL 32 /* mount failure */
#define MOUNT_EX_SOMEOK 64 /* some mount succeeded */
+
+
#endif /* UTIL_LINUX_EXITCODES_H */