summaryrefslogtreecommitdiff
path: root/src/fsck.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-29 06:04:17 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-29 16:28:29 +0200
commit70f12d37087721089a150fad985f0dca0f8af277 (patch)
tree2a01252fe07ce1c7f2f732f3b3e2eb784a29df7c /src/fsck.c
parent2a77d31df976c3934e3b38a9e61c000ec9a8acc2 (diff)
fsck: fix target name to check for
Diffstat (limited to 'src/fsck.c')
-rw-r--r--src/fsck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fsck.c b/src/fsck.c
index 96dea660a9..bfa35f2e56 100644
--- a/src/fsck.c
+++ b/src/fsck.c
@@ -39,7 +39,7 @@ static bool arg_force = false;
static void start_target(const char *target, bool isolate) {
DBusMessage *m = NULL, *reply = NULL;
DBusError error;
- const char *mode, *base_target = "base.target";
+ const char *mode, *basic_target = "basic.target";
DBusConnection *bus = NULL;
assert(target);
@@ -66,7 +66,7 @@ static void start_target(const char *target, bool isolate) {
/* Start these units only if we can replace base.target with it */
if (!dbus_message_append_args(m,
- DBUS_TYPE_STRING, &base_target,
+ DBUS_TYPE_STRING, &basic_target,
DBUS_TYPE_STRING, &target,
DBUS_TYPE_STRING, &mode,
DBUS_TYPE_INVALID)) {