chiark / gitweb /
ask-password-tty: properly handle SIGINT/SIGTERM
[elogind.git] / src / manager.c
index 37f0d0492916e31587359e3053a9ca5b9cac172e..e90757eacd76873a4e844cef11762463f19816aa 100644 (file)
@@ -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;