chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ask-password-tty: properly handle SIGINT/SIGTERM
[elogind.git]
/
src
/
manager.c
diff --git
a/src/manager.c
b/src/manager.c
index 37f0d0492916e31587359e3053a9ca5b9cac172e..e90757eacd76873a4e844cef11762463f19816aa 100644
(file)
--- 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;
} else if (startswith(l, "finish-timestamp=")) {
unsigned long long a, b;
- if (sscanf(l+1
8
, "%lli %llu", &a, &b) != 2)
- log_debug("Failed to parse finish timestamp value %s", l+1
8
);
+ if (sscanf(l+1
7
, "%lli %llu", &a, &b) != 2)
+ log_debug("Failed to parse finish timestamp value %s", l+1
7
);
else {
m->finish_timestamp.realtime = a;
m->finish_timestamp.monotonic = b;
else {
m->finish_timestamp.realtime = a;
m->finish_timestamp.monotonic = b;