summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-10-09 20:12:36 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-10-09 20:12:36 +0000
commitd6fe3bd80a41181faa9ff8b9459bfdf4d8b542e4 (patch)
treed57bcd3baf8c4746b61ecb5dfee03fe916942f1d /sys
parentcb5cd48838054acb709d9093af6eb1fb5e72b1cb (diff)
DIsplay fixes, also print boot path before attempting to boot it. Still not
cranking boot blocks version because it's unlikely anyone but me is running them at the moment.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/aviion/stand/boot/boot.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/aviion/stand/boot/boot.c b/sys/arch/aviion/stand/boot/boot.c
index 00970497450..7fdf405e23d 100644
--- a/sys/arch/aviion/stand/boot/boot.c
+++ b/sys/arch/aviion/stand/boot/boot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: boot.c,v 1.1 2013/10/08 21:55:20 miod Exp $ */
+/* $OpenBSD: boot.c,v 1.2 2013/10/09 20:12:35 miod Exp $ */
/*-
* Copyright (c) 1995 Theo de Raadt
@@ -72,7 +72,7 @@ boot(const char *args, int bootdev, int bootunit, int bootpart)
int ask = 0;
int ret;
- printf(">> OpenBSD/" MACHINE " boot %s\n", version);
+ printf("\n>> OpenBSD/" MACHINE " boot %s\n", version);
ret = parse_args(args, &file, 1);
for (;;) {
@@ -88,6 +88,7 @@ boot(const char *args, int bootdev, int bootunit, int bootpart)
break;
}
+ printf("%s: ", file);
exec(file, args, bootdev, bootunit, bootpart);
printf("boot: %s: %s\n", file, strerror(errno));
ask = 1;