diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fsck/fsck.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c index 26fbd8bb03..50f838a421 100644 --- a/src/fsck/fsck.c +++ b/src/fsck/fsck.c @@ -34,14 +34,14 @@ /* exit codes as defined in fsck(8) */ enum { - FSCK_SUCCESS = 0, - FSCK_ERROR_CORRECTED = 1, - FSCK_SYSTEM_SHOULD_REBOOT = 2, - FSCK_ERRORS_LEFT_UNCORRECTED = 4, - FSCK_OPERATIONAL_ERROR = 8, - FSCK_USAGE_OR_SYNTAX_ERROR = 16, - FSCK_USER_CANCELLED = 32, - FSCK_SHARED_LIB_ERROR = 128, + FSCK_SUCCESS = 0, + FSCK_ERROR_CORRECTED = 1 << 0, + FSCK_SYSTEM_SHOULD_REBOOT = 1 << 1, + FSCK_ERRORS_LEFT_UNCORRECTED = 1 << 2, + FSCK_OPERATIONAL_ERROR = 1 << 3, + FSCK_USAGE_OR_SYNTAX_ERROR = 1 << 4, + FSCK_USER_CANCELLED = 1 << 5, + FSCK_SHARED_LIB_ERROR = 1 << 7, }; static bool arg_skip = false; |