From efeb864cb547a2cbf96dc0053a8bdb4d9190b364 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 05:50:45 +0200 Subject: Merging upstream version 256. Signed-off-by: Daniel Baumann --- src/battery-check/battery-check.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/battery-check') diff --git a/src/battery-check/battery-check.c b/src/battery-check/battery-check.c index 03628c8..1563147 100644 --- a/src/battery-check/battery-check.c +++ b/src/battery-check/battery-check.c @@ -123,9 +123,9 @@ static int run(int argc, char *argv[]) { log_setup(); - r = proc_cmdline_get_bool("systemd.battery-check", PROC_CMDLINE_STRIP_RD_PREFIX|PROC_CMDLINE_TRUE_WHEN_MISSING, &arg_doit); + r = proc_cmdline_get_bool("systemd.battery_check", PROC_CMDLINE_STRIP_RD_PREFIX|PROC_CMDLINE_TRUE_WHEN_MISSING, &arg_doit); if (r < 0) - log_warning_errno(r, "Failed to parse systemd.battery-check= kernel command line option, ignoring: %m"); + log_warning_errno(r, "Failed to parse systemd.battery_check= kernel command line option, ignoring: %m"); r = parse_argv(argc, argv); if (r <= 0) -- cgit v1.2.3