summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-10-20 14:41:07 +0200
committerLennart Poettering <lennart@poettering.net>2010-10-20 14:41:07 +0200
commit1f5558b4990c683d69e10217f1bf73ecb66ca2d2 (patch)
tree132ca40d6e8301c29e5f89108cf92946044f625c /src
parentf2382a94e0fd5d2482e0b2fe120674a6e156ff80 (diff)
manager: properly parse finish timestamp
Diffstat (limited to 'src')
-rw-r--r--src/manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manager.c b/src/manager.c
index 37f0d04929..e90757eacd 100644
--- a/src/manager.c
+++ b/src/manager.c
@@ -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;