chiark / gitweb /
journal: add new system-cat tool as kind of a more powerfull BSD logger
[elogind.git] / src / fsck.c
index d7d4839f1c9d81f1c3cda869b4c82f7143a28f81..d3ac83c25e5a37c05c6a611e685a659f78af1e2d 100644 (file)
@@ -34,6 +34,7 @@
 #include "dbus-common.h"
 #include "special.h"
 #include "bus-errors.h"
+#include "virt.h"
 
 static bool arg_skip = false;
 static bool arg_force = false;
@@ -79,7 +80,7 @@ static void start_target(const char *target, bool isolate) {
 
         if (!(reply = dbus_connection_send_with_reply_and_block(bus, m, -1, &error))) {
 
-                /* Don't print a waring if we aren't called during
+                /* Don't print a warning if we aren't called during
                  * startup */
                 if (!dbus_error_has_name(&error, BUS_ERROR_NO_SUCH_JOB))
                         log_error("Failed to start unit: %s", bus_error_message(&error));
@@ -126,7 +127,7 @@ static int parse_proc_cmdline(void) {
                         arg_skip = true;
                 else if (startswith(w, "fsck.mode"))
                         log_warning("Invalid fsck.mode= parameter. Ignoring.");
-#if defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA)
+#if defined(TARGET_FEDORA) || defined(TARGET_MANDRIVA) || defined(TARGET_MAGEIA)
                 else if (strneq(w, "fastboot", l))
                         arg_skip = true;
                 else if (strneq(w, "forcefsck", l))