summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-03-03 17:17:38 +0100
committerJustus Winter <justus@gnupg.org>2017-03-03 17:19:11 +0100
commitcfcb0edb14772b625c7d744c4f2e455c53c92d6b (patch)
tree34b2c9a83286c1b0f5db3b8ce3570a1a185a73a4 /boot
parent7845e0f740d104dc712505ab2f8b273a18078fae (diff)
boot: Make the halt message nicer.
* boot/boot.c (S_host_reboot): Emit a carriage return.
Diffstat (limited to 'boot')
-rw-r--r--boot/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot/boot.c b/boot/boot.c
index c69c89ac..9c2a0218 100644
--- a/boot/boot.c
+++ b/boot/boot.c
@@ -1902,7 +1902,7 @@ kern_return_t
S_host_reboot (mach_port_t host_priv,
int flags)
{
- fprintf (stderr, "Would %s the system. Bye.\n",
+ fprintf (stderr, "Would %s the system. Bye.\r\n",
flags & RB_HALT? "halt": "reboot");
host_exit (0);
}