X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fmanager.c;h=ae2960236ec4dac7c54f097830668987d24d0332;hb=472ff3d64a870dcd767ecf61e07d89d8fb2f272d;hp=37f0d0492916e31587359e3053a9ca5b9cac172e;hpb=f2382a94e0fd5d2482e0b2fe120674a6e156ff80;p=elogind.git diff --git a/src/manager.c b/src/manager.c index 37f0d0492..ae2960236 100644 --- a/src/manager.c +++ b/src/manager.c @@ -1413,7 +1413,7 @@ static int transaction_add_job_and_dependencies( if (type != JOB_STOP && unit->meta.load_state == UNIT_ERROR) { dbus_set_error(e, BUS_ERROR_LOAD_FAILED, "Unit %s failed to load: %s. " - "You might find more information in the system logs.", + "See system logs and 'systemctl status' for details.", unit->meta.id, strerror(-unit->meta.load_error)); return -EINVAL; @@ -2562,8 +2562,8 @@ int manager_deserialize(Manager *m, FILE *f, FDSet *fds) { } else if (startswith(l, "finish-timestamp=")) { unsigned long long a, b; - if (sscanf(l+18, "%lli %llu", &a, &b) != 2) - log_debug("Failed to parse finish timestamp value %s", l+18); + if (sscanf(l+17, "%lli %llu", &a, &b) != 2) + log_debug("Failed to parse finish timestamp value %s", l+17); else { m->finish_timestamp.realtime = a; m->finish_timestamp.monotonic = b;