summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-03-19 18:35:41 +0900
committerGitHub <noreply@github.com>2018-03-19 18:35:41 +0900
commitcc6861006e08b11989837afeba32fb85a3043aca (patch)
treefc67a20e4445cab337da9d1ffbb63643039891f8 /src/shared
parentbcabcde5d2544ce7e3234652562dcbdfc4cf3494 (diff)
parentdbc9830cde21afb585e4e28eafc0230cc0933563 (diff)
downloadsystemd-cc6861006e08b11989837afeba32fb85a3043aca.tar.gz
Merge pull request #8399 from keszybz/systemctl-kexec
Systemctl kexec buglet fixes
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/bootspec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/bootspec.c b/src/shared/bootspec.c
index 7bb66f3d87..2e3611850a 100644
--- a/src/shared/bootspec.c
+++ b/src/shared/bootspec.c
@@ -202,11 +202,11 @@ int boot_loader_read_conf(const char *path, BootConfig *config) {
r = free_and_strdup(&config->timeout, p);
else if (streq(field, "editor"))
r = free_and_strdup(&config->editor, p);
- else if (streq(buf, "auto-entries"))
+ else if (streq(field, "auto-entries"))
r = free_and_strdup(&config->auto_entries, p);
- else if (streq(buf, "auto-firmware"))
+ else if (streq(field, "auto-firmware"))
r = free_and_strdup(&config->auto_firmware, p);
- else if (streq(buf, "console-mode"))
+ else if (streq(field, "console-mode"))
r = free_and_strdup(&config->console_mode, p);
else {
log_notice("%s:%u: Unknown line \"%s\"", path, line, field);