mirror of
https://github.com/systemd/systemd.git
synced 2026-11-06 05:17:24 +00:00
shared/watchdog: drop stale %m from success message
The ping succeeded, so the journal entry read "Successfully pinged hardware watchdog … after N attempts: Success".
This commit is contained in:
1 parent
bb01e783da
commit
e1466ebfa6
1 file changed
+1
-1
@@ -247,7 +247,7 @@ static int watchdog_ping_now(void) {
|
||||
watchdog_last_good_ping = now(CLOCK_BOOTTIME);
|
||||
if (watchdog_bad_pings > 0) {
|
||||
log_struct(LOG_INFO,
|
||||
LOG_MESSAGE("Successfully pinged hardware watchdog %s after %u attempts: %m",
|
||||
LOG_MESSAGE("Successfully pinged hardware watchdog %s after %u attempts.",
|
||||
watchdog_device, watchdog_bad_pings + 1),
|
||||
"WATCHDOG_DEVICE=%s", watchdog_device);
|
||||
watchdog_bad_pings = 0;
|
||||
|
||||
Reference in new issue
Block a user