mirror of
https://github.com/systemd/systemd.git
synced 2026-07-20 22:40:40 +00:00
bootctl: add newline after printf (#7856)
Upon error condition, a newline is not printed, leading to the shell prompt jamming against this line.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
4f41c2ae8b
commit
cce5b4f106
@@ -294,7 +294,7 @@ static int status_entries(const char *esp_path, sd_id128_t partition) {
|
||||
esp_path);
|
||||
|
||||
if (config.default_entry < 0)
|
||||
printf("%zu entries, no entry suitable as default", config.n_entries);
|
||||
printf("%zu entries, no entry suitable as default\n", config.n_entries);
|
||||
else {
|
||||
const BootEntry *e = &config.entries[config.default_entry];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user