]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: fix typo in systemd.watchdog_device kernel option
authorAhmad Fatoum <a.fatoum@pengutronix.de>
Thu, 20 Feb 2025 11:53:49 +0000 (12:53 +0100)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 20 Feb 2025 12:18:45 +0000 (12:18 +0000)
The option that systemd actually looks for has an underscore and no dash
as can be seen in src/core/main.c.

The man/kernel-command-line.xml documentation also gets it right with
this file being the only instance of watchdog-device being used.

Fixes: c75396c30bd9 ("documentation: add description for watchdog device path")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
man/systemd-system.conf.xml

index 9bfd212a459f17dc04432ddc4ae86bf6917335f2..f7b414da5ce05435507f96ecb7a74f8e23f6bc19 100644 (file)
 
         <para>If <varname>RuntimeWatchdogSec=</varname> is set to a non-zero value, the watchdog hardware
         (<filename>/dev/watchdog0</filename> or the path specified with <varname>WatchdogDevice=</varname> or
-        the kernel option <varname>systemd.watchdog-device=</varname>) will be programmed to automatically
+        the kernel option <varname>systemd.watchdog_device=</varname>) will be programmed to automatically
         reboot the system if it is not contacted within the specified timeout interval. The system manager
         will ensure to contact it at least once in half the specified timeout interval. This feature requires
         a hardware watchdog device to be present, as it is commonly the case in embedded and server