Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcmips/stand/pbsdboot BUGFIX: These string data, '...



details:   https://anonhg.NetBSD.org/src/rev/0705119103de
branches:  trunk
changeset: 504493:0705119103de
user:      takemura <takemura%NetBSD.org@localhost>
date:      Sun Mar 04 05:11:31 2001 +0000

description:
BUGFIX: These string data, 'MEMORI- KA-DO...' didn't have any terminater.

diffstat:

 sys/arch/hpcmips/stand/pbsdboot/main.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (22 lines):

diff -r 1234661c70d8 -r 0705119103de sys/arch/hpcmips/stand/pbsdboot/main.c
--- a/sys/arch/hpcmips/stand/pbsdboot/main.c    Sun Mar 04 05:08:43 2001 +0000
+++ b/sys/arch/hpcmips/stand/pbsdboot/main.c    Sun Mar 04 05:11:31 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: main.c,v 1.51 2001/02/25 12:58:38 takemura Exp $       */
+/*     $NetBSD: main.c,v 1.52 2001/03/04 05:11:31 takemura Exp $       */
 
 /*-
  * Copyright (c) 1999, 2000 Shin Takemura.
@@ -322,9 +322,9 @@
 #define UNICODE_MEMORY_CARD \
        TEXT('\\'), 0xff92, 0xff93, 0xff98, TEXT(' '), 0xff76, 0xff70, \
        0xff84, 0xff9e
-TCHAR unicode_memory_card[] = { UNICODE_MEMORY_CARD,  TEXT('\\') };
-TCHAR unicode_memory_card1[] = { UNICODE_MEMORY_CARD,  TEXT('1'), TEXT('\\') };
-TCHAR unicode_memory_card2[] = { UNICODE_MEMORY_CARD,  TEXT('2'), TEXT('\\') };
+TCHAR unicode_memory_card[] = { UNICODE_MEMORY_CARD,  TEXT('\\'), 0 };
+TCHAR unicode_memory_card1[] = { UNICODE_MEMORY_CARD, TEXT('1'),TEXT('\\'),0 };
+TCHAR unicode_memory_card2[] = { UNICODE_MEMORY_CARD, TEXT('2'),TEXT('\\'),0 };
 #endif
 
 #define LANGID_DEFAULT MAKELANGID(LANG_ENGLISH, SUBLANG_DEFAULT)



Home | Main Index | Thread Index | Old Index