]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/fsck/fsck.c
build-sys: use #if Y instead of #ifdef Y everywhere
[thirdparty/systemd.git] / src / fsck / fsck.c
index 434321f806aaf733ea675085dfe5f7ebf50d1deb..cd39161f10f0a99f868a60d8a10eb970e2e699b9 100644 (file)
@@ -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;