summaryrefslogtreecommitdiffstats
path: root/src/battery-check/battery-check.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/battery-check/battery-check.c')
-rw-r--r--src/battery-check/battery-check.c4
1 files changed, 2 insertions, 2 deletions
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)