Small message fixes.

This commit is contained in:
minoura 2001-12-02 14:25:44 +00:00
parent 90e97e1eb1
commit 9a342a1f55
2 changed files with 12 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: boot.c,v 1.7 2001/10/15 16:23:00 minoura Exp $ */
/* $NetBSD: boot.c,v 1.8 2001/12/02 14:25:44 minoura Exp $ */
/*
* Copyright (c) 2001 Minoura Makoto
@ -242,7 +242,7 @@ bootmenu(void)
}
printf("Please use the absolute unit# (e.g. SCSI ID)"
" instead of the NetBSD ones.\n");
" instead of the NetBSD logical #.\n");
for (;;) {
char *p, *options;
@ -314,7 +314,7 @@ bootmain(int bootdev)
default:
printf("Warning: unknown boot device: %x\n", bootdev);
}
print_title("%s, Revision %s\n(%s, %s)",
print_title("%s, Revision %s\n\t(%s, %s)",
bootprog_name, bootprog_rev,
bootprog_maker, bootprog_date);
bootmenu();

View File

@ -1,4 +1,4 @@
/* $NetBSD: consio.c,v 1.3 2001/09/30 15:54:38 minoura Exp $ */
/* $NetBSD: consio.c,v 1.4 2001/12/02 14:25:44 minoura Exp $ */
/*
* Copyright (c) 2001 MINOURA Makoto.
@ -158,9 +158,11 @@ print_title(const char *fmt, ...)
char *p;
y = y1 = (IOCS_B_LOCATE(-1, -1) & 0xffff) + 1;
put_image (8, y*16-8);
put_image (8, y*16-6);
IOCS_B_LOCATE(0, y+3);
IOCS_B_PRINT("\360(\360C\360)\3601\3609\3609\3608\360 "
IOCS_B_PRINT("\360D\360a\360e\360m\360o\360n "
"\360l\360o\360g\360o "
"\360(\360C\360)\3601\3609\3609\3608\360 "
"\360b\360y\360 "
"\360M\360a\360r\360s\360h\360a\360l\360l\360 "
"\360K\360i\360r\360k\360 "
@ -170,13 +172,13 @@ print_title(const char *fmt, ...)
va_end(ap);
while ((p = strchr(buf, '\n')) != 0) {
*p = 0;
IOCS_B_LOCATE(9, y++);
IOCS_B_PRINT(p);
IOCS_B_LOCATE(9, ++y);
IOCS_B_PRINT(buf);
buf = p+1;
}
IOCS_B_LOCATE(9, y++);
IOCS_B_LOCATE(9, ++y);
IOCS_B_PRINT(buf);
IOCS_B_LOCATE(0, y1+4);
IOCS_B_LOCATE(0, y1+5);
} else {
va_start(ap, fmt);
vprintf(fmt, ap);