From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH] boot: fix systemd watchdog command line argument
Date: Thu, 20 Feb 2025 10:17:43 +0100 [thread overview]
Message-ID: <20250220091743.3489127-1-s.hauer@pengutronix.de> (raw)
The kernel command line option to specify the watchdog to use is
"systemd.watchdog_device" as specified in [1], not
"systemd.watchdog-device"
[1] https://www.freedesktop.org/software/systemd/man/latest/kernel-command-line.html#systemd.watchdog_sec=
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
common/oftree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/oftree.c b/common/oftree.c
index 4afe955719..2ebde791c7 100644
--- a/common/oftree.c
+++ b/common/oftree.c
@@ -172,7 +172,7 @@ static void watchdog_build_bootargs(struct watchdog *watchdog, struct device_nod
if (alias_id < 0)
return;
- buf = basprintf("systemd.watchdog-device=/dev/watchdog%d", alias_id);
+ buf = basprintf("systemd.watchdog_device=/dev/watchdog%d", alias_id);
if (!buf)
return;
--
2.39.5
next reply other threads:[~2025-02-20 9:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-20 9:17 Sascha Hauer [this message]
2025-02-20 12:06 ` Ahmad Fatoum
2025-02-20 17:45 ` Ahmad Fatoum
2025-02-21 13:20 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250220091743.3489127-1-s.hauer@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox