summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2013-10-09 20:12:35 +0000
committermiod <miod@openbsd.org>2013-10-09 20:12:35 +0000
commite8d2425ca01039c32b8e8dacb99d31cd7a40dfe2 (patch)
tree367e6684496a2ddae39eff199ece3537ce838881 /sys
parentParse (hex) partition number in boot path. For experts only. (diff)
downloadwireguard-openbsd-e8d2425ca01039c32b8e8dacb99d31cd7a40dfe2.tar.xz
wireguard-openbsd-e8d2425ca01039c32b8e8dacb99d31cd7a40dfe2.zip
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;