From e1466ebfa6a73c48fa56d2ddb5f331228c8270ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 3 Nov 2026 18:18:57 +0100 Subject: [PATCH] shared/watchdog: drop stale %m from success message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The ping succeeded, so the journal entry read "Successfully pinged hardware watchdog … after N attempts: Success". --- src/shared/watchdog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/watchdog.c b/src/shared/watchdog.c index e6178bcb894..45e36a217fc 100644 --- a/src/shared/watchdog.c +++ b/src/shared/watchdog.c @@ -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;