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:
winnerman-pythian
2018-01-11 12:01:57 -05:00
committed by Zbigniew Jędrzejewski-Szmek
parent 4f41c2ae8b
commit cce5b4f106

View File

@@ -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];