diff --git a/man/loader.conf.xml b/man/loader.conf.xml index 6f8d0489d2..f9d98dd4d9 100644 --- a/man/loader.conf.xml +++ b/man/loader.conf.xml @@ -23,7 +23,7 @@ ESP/loader/loader.conf, - ESP/loader/loader.conf.d/*.conf + ESP/loader/entries/*.conf @@ -32,9 +32,9 @@ systemd-boot7 - will read /loader/loader.conf and any files with the + will read ESP/loader/loader.conf and any files with the .conf extension under - /loader/loader.conf.d/ on the EFI system partition (ESP). + ESP/loader/entries/ on the EFI system partition (ESP). Each configuration file must consist of an option name, followed by @@ -50,7 +50,7 @@ Options - The following configuration options are understood: + The following configuration options in loader.conf are understood: diff --git a/src/boot/efi/boot.c b/src/boot/efi/boot.c index d3a26fd7a0..4719eeaf4b 100644 --- a/src/boot/efi/boot.c +++ b/src/boot/efi/boot.c @@ -981,7 +981,7 @@ skip: } /* remove trailing whitespace */ - while (linelen > 0 && strchra(sep, line[linelen-1])) + while (linelen > 0 && strchra((CHAR8 *)" \t", line[linelen-1])) linelen--; line[linelen] = '\0';