mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-03-11 17:31:10 +07:00
manager: properly parse finish timestamp
This commit is contained in:
parent
f2382a94e0
commit
1f5558b499
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user