Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k/stand Message cosmetics.



details:   https://anonhg.NetBSD.org/src/rev/bcb89202e8e0
branches:  trunk
changeset: 515555:bcb89202e8e0
user:      minoura <minoura%NetBSD.org@localhost>
date:      Fri Sep 28 15:11:19 2001 +0000

description:
Message cosmetics.

diffstat:

 sys/arch/x68k/stand/boot/boot.c    |  6 +++---
 sys/arch/x68k/stand/libsa/consio.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (52 lines):

diff -r a5a6cfb9792a -r bcb89202e8e0 sys/arch/x68k/stand/boot/boot.c
--- a/sys/arch/x68k/stand/boot/boot.c   Fri Sep 28 15:10:39 2001 +0000
+++ b/sys/arch/x68k/stand/boot/boot.c   Fri Sep 28 15:11:19 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: boot.c,v 1.1 2001/09/27 10:14:49 minoura Exp $ */
+/*     $NetBSD: boot.c,v 1.2 2001/09/28 15:11:19 minoura Exp $ */
 
 /*
  * Copyright (c) 2001 Minoura Makoto
@@ -198,7 +198,6 @@
        }
 }
                
-
 int
 bootmenu(void)
 {
@@ -226,6 +225,7 @@
                exit(1);
        }
 
+       printf("Please use the absolute unit# (e.g. SCSI ID) instead of the NetBSD ones.\n");
        for (;;) {
                char *p, *options;
 
@@ -278,6 +278,6 @@
                default_kernel[2] = '0' + B_X68K_SCSI_ID(bootdev);
                default_kernel[3] = 'a';
        }
-       printf("NetBSD/x68k bootstrap loader version %s\n\n", BOOT_VERS);
+       print_title("NetBSD/x68k bootstrap loader version %s", BOOT_VERS);
        bootmenu();
 }
diff -r a5a6cfb9792a -r bcb89202e8e0 sys/arch/x68k/stand/libsa/consio.c
--- a/sys/arch/x68k/stand/libsa/consio.c        Fri Sep 28 15:10:39 2001 +0000
+++ b/sys/arch/x68k/stand/libsa/consio.c        Fri Sep 28 15:11:19 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: consio.c,v 1.1 2001/09/27 10:03:27 minoura Exp $       */
+/*     $NetBSD: consio.c,v 1.2 2001/09/28 15:11:20 minoura Exp $       */
 
 /*
  * Copyright (c) 2001 MINOURA Makoto.
@@ -152,7 +152,7 @@
        /* Print the logo image here */
 
        va_start(ap, fmt);
-       printf(fmt, ap);
+       vprintf(fmt, ap);
+       va_end(ap);
        printf("\n");
-       va_end(ap);
 }



Home | Main Index | Thread Index | Old Index