summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1998-10-29 17:07:25 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1998-10-29 17:07:25 +0000
commita36572a0ffae208ef7cd68b99b5cadf61fe5acab (patch)
tree765c6e8b4d5c7bdcbc56400ab70ca7f4e7026ef2
parentd3326997e61d960a4f548420aa1589bf272063ba (diff)
print \n when we've got timed out waiting for an operator
input, so the 'booting' progress will be shown on the next line making that consistant w/ the 'boot' command look.
-rw-r--r--sys/stand/boot/cmd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/stand/boot/cmd.c b/sys/stand/boot/cmd.c
index 52b4c909b4b..dc8b12445e6 100644
--- a/sys/stand/boot/cmd.c
+++ b/sys/stand/boot/cmd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd.c,v 1.42 1998/07/13 16:19:26 mickey Exp $ */
+/* $OpenBSD: cmd.c,v 1.43 1998/10/29 17:07:24 mickey Exp $ */
/*
* Copyright (c) 1997,1998 Michael Shalayeff
@@ -237,6 +237,7 @@ readline(buf, to)
if (!cnischar()) {
strncpy(buf, "boot", 5);
+ putchar('\n');
return strlen(buf);
}
} else