From d6fe3bd80a41181faa9ff8b9459bfdf4d8b542e4 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 9 Oct 2013 20:12:36 +0000 Subject: 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. --- sys/arch/aviion/stand/boot/boot.c | 5 +++-- 1 file 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; -- cgit v1.2.3