clock-util: trivial clean-ups

This commit is contained in:
Lennart Poettering 2020-10-22 14:05:13 +02:00
parent 66ad93e86d
commit 0d18259e0a

View file

@ -151,9 +151,9 @@ int clock_apply_epoch(void) {
if (stat(EPOCH_FILE, &st) < 0) { if (stat(EPOCH_FILE, &st) < 0) {
if (errno != ENOENT) if (errno != ENOENT)
log_warning_errno(errno, "Cannot stat %s: %m\n", EPOCH_FILE); log_warning_errno(errno, "Cannot stat " EPOCH_FILE ": %m");
epoch_usec = ((usec_t) TIME_EPOCH * USEC_PER_SEC); epoch_usec = (usec_t) TIME_EPOCH * USEC_PER_SEC;
} else } else
epoch_usec = timespec_load(&st.st_mtim); epoch_usec = timespec_load(&st.st_mtim);