diff options
author | Lennart Poettering <lennart@poettering.net> | 2017-10-04 19:25:30 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 19:25:30 +0200 |
commit | 4aa1d31c89c8fb74e70eed5849c780c4678829a3 (patch) | |
tree | d177744263d38b99f48c018cb11e2e4b385d9e90 /src/fsck | |
parent | Merge pull request #6985 from yuwata/empty (diff) | |
parent | meson: generate ENABLE_* names automatically (diff) | |
download | systemd-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.c | 4 |
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; |