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:
Zbigniew Jędrzejewski-Szmek committed 2026-11-04 00:27:28 +01:00
1 parent bb01e783da
commit e1466ebfa6
1 file changed
+1 -1
+1 -1
View File
@@ -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;