diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-10-20 14:41:07 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-10-20 14:41:07 +0200 |
commit | 1f5558b4990c683d69e10217f1bf73ecb66ca2d2 (patch) | |
tree | 132ca40d6e8301c29e5f89108cf92946044f625c /src/manager.c | |
parent | f2382a94e0fd5d2482e0b2fe120674a6e156ff80 (diff) |
manager: properly parse finish timestamp
Diffstat (limited to 'src/manager.c')
-rw-r--r-- | src/manager.c | 4 |
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; |