From: Lennart Poettering Date: Mon, 28 Jan 2019 16:34:17 +0000 (+0100) Subject: bootspec: update log message, to indicate the error is ignored X-Git-Tag: v242-rc1~218^2~45 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=feb41f1ffe3441a4249241b412351a1ffc6ddbc6;p=thirdparty%2Fsystemd.git bootspec: update log message, to indicate the error is ignored --- diff --git a/src/shared/bootspec.c b/src/shared/bootspec.c index 7e276f1edf5..410930e9cda 100644 --- a/src/shared/bootspec.c +++ b/src/shared/bootspec.c @@ -115,7 +115,7 @@ static int boot_entry_load(const char *path, BootEntry *entry) { else if (streq(field, "devicetree")) r = free_and_strdup(&tmp.device_tree, p); else { - log_notice("%s:%u: Unknown line \"%s\"", path, line, field); + log_notice("%s:%u: Unknown line \"%s\", ignoring.", path, line, field); continue; } if (r < 0) @@ -203,7 +203,7 @@ static int boot_loader_read_conf(const char *path, BootConfig *config) { 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); + log_notice("%s:%u: Unknown line \"%s\", ignoring.", path, line, field); continue; } if (r < 0)