summaryrefslogtreecommitdiffstats
path: root/src/fsck
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2017-10-04 19:25:30 +0200
committerGitHub <noreply@github.com>2017-10-04 19:25:30 +0200
commit4aa1d31c89c8fb74e70eed5849c780c4678829a3 (patch)
treed177744263d38b99f48c018cb11e2e4b385d9e90 /src/fsck
parentMerge pull request #6985 from yuwata/empty (diff)
parentmeson: generate ENABLE_* names automatically (diff)
downloadsystemd-4aa1d31c89c8fb74e70eed5849c780c4678829a3.tar.xz
systemd-4aa1d31c89c8fb74e70eed5849c780c4678829a3.zip
Merge pull request #6974 from keszybz/clean-up-defines
Clean up define definitions
Diffstat (limited to 'src/fsck')
-rw-r--r--src/fsck/fsck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fsck/fsck.c b/src/fsck/fsck.c
index bcb07fe976..cf5a9c59ff 100644
--- a/src/fsck/fsck.c
+++ b/src/fsck/fsck.c
@@ -131,7 +131,7 @@ static int parse_proc_cmdline_item(const char *key, const char *value, void *dat
}
}
-#ifdef HAVE_SYSV_COMPAT
+#if HAVE_SYSV_COMPAT
else if (streq(key, "fastboot") && !value) {
log_warning("Please pass 'fsck.mode=skip' rather than 'fastboot' on the kernel command line.");
arg_skip = true;
@@ -147,7 +147,7 @@ static int parse_proc_cmdline_item(const char *key, const char *value, void *dat
static void test_files(void) {
-#ifdef HAVE_SYSV_COMPAT
+#if HAVE_SYSV_COMPAT
if (access("/fastboot", F_OK) >= 0) {
log_error("Please pass 'fsck.mode=skip' on the kernel command line rather than creating /fastboot on the root file system.");
arg_skip = true;