diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-08-13 04:35:43 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-08-13 04:35:43 +0000 |
commit | 0bb25ed72ac18b1d2e5dda0ea93d18c216606c97 (patch) | |
tree | b100d14061a2ec4c07306c951a914599f13cd6cb /sys/stand | |
parent | 2a356194060d2af1b09d437d0bf8b0def5649967 (diff) |
print boot message on the right console
Diffstat (limited to 'sys/stand')
-rw-r--r-- | sys/stand/boot/boot.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/stand/boot/boot.c b/sys/stand/boot/boot.c index 629f20446ee..ebccaacfdd2 100644 --- a/sys/stand/boot/boot.c +++ b/sys/stand/boot/boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.c,v 1.12 1997/08/06 18:45:01 mickey Exp $ */ +/* $OpenBSD: boot.c,v 1.13 1997/08/13 04:35:42 mickey Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff @@ -58,8 +58,6 @@ boot(bootdev) machdep(); - printf(">> OpenBSD BOOT: %u/%u k [%s]\n", cnvmem, extmem, version); - strncpy(cmd.image, bootfile, sizeof(cmd.image)); cmd.conf = "/etc/boot.conf"; cmd.cwd[0] = '/'; cmd.cwd[1] = '\0'; @@ -68,6 +66,9 @@ boot(bootdev) devboot(bootdev, cmd.bootdev); f = read_conf(); + + printf(">> OpenBSD BOOT: %u/%u k [%s]\n", cnvmem, extmem, version); + while (1) { if (f <= 0) /* no boot.conf, or no boot cmd in there */ do { |