From cce5b4f106dc31ed0d6d36150bc89e348bacfb3a Mon Sep 17 00:00:00 2001 From: winnerman-pythian <33329648+winnerman-pythian@users.noreply.github.com> Date: Thu, 11 Jan 2018 12:01:57 -0500 Subject: [PATCH] bootctl: add newline after printf (#7856) Upon error condition, a newline is not printed, leading to the shell prompt jamming against this line. --- src/boot/bootctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c index 48fdf97c7fd..cd95f0e426c 100644 --- a/src/boot/bootctl.c +++ b/src/boot/bootctl.c @@ -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];