File tree Expand file tree Collapse file tree 3 files changed +16
-12
lines changed
Expand file tree Collapse file tree 3 files changed +16
-12
lines changed Original file line number Diff line number Diff line change 2222#include "device-util.h"
2323#include "fd-util.h"
2424#include "fs-util.h"
25+ #include "fsck-util.h"
2526#include "main-func.h"
2627#include "parse-util.h"
2728#include "path-util.h"
3435#include "stdio-util.h"
3536#include "util.h"
3637
37- /* exit codes as defined in fsck(8) */
38- enum {
39- FSCK_SUCCESS = 0 ,
40- FSCK_ERROR_CORRECTED = 1 << 0 ,
41- FSCK_SYSTEM_SHOULD_REBOOT = 1 << 1 ,
42- FSCK_ERRORS_LEFT_UNCORRECTED = 1 << 2 ,
43- FSCK_OPERATIONAL_ERROR = 1 << 3 ,
44- FSCK_USAGE_OR_SYNTAX_ERROR = 1 << 4 ,
45- FSCK_USER_CANCELLED = 1 << 5 ,
46- FSCK_SHARED_LIB_ERROR = 1 << 7 ,
47- };
48-
4938static bool arg_skip = false;
5039static bool arg_force = false;
5140static bool arg_show_progress = false;
Original file line number Diff line number Diff line change 1+ /* SPDX-License-Identifier: LGPL-2.1+ */
2+ #pragma once
3+
4+ /* exit codes as defined in fsck(8) */
5+ enum {
6+ FSCK_SUCCESS = 0 ,
7+ FSCK_ERROR_CORRECTED = 1 << 0 ,
8+ FSCK_SYSTEM_SHOULD_REBOOT = 1 << 1 ,
9+ FSCK_ERRORS_LEFT_UNCORRECTED = 1 << 2 ,
10+ FSCK_OPERATIONAL_ERROR = 1 << 3 ,
11+ FSCK_USAGE_OR_SYNTAX_ERROR = 1 << 4 ,
12+ FSCK_USER_CANCELLED = 1 << 5 ,
13+ FSCK_SHARED_LIB_ERROR = 1 << 7 ,
14+ };
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ shared_sources = files('''
7474 firewall-util.h
7575 format-table.c
7676 format-table.h
77+ fsck-util.h
7778 fstab-util.c
7879 fstab-util.h
7980 generator.c
You can’t perform that action at this time.
0 commit comments