Module Name: src
Committed By: martin
Date: Fri Apr 24 17:25:10 UTC 2020
Modified Files:
src/sys/arch/hp300/hp300 [netbsd-9]: machdep.c
Log Message:
Pull up following revision(s) (requested by tsutsui in ticket #847):
sys/arch/hp300/hp300/machdep.c: revision 1.233
Fix garbages in dmesg caused by uninitialized variables slipped in r1.228.
Noticed in HP9000/362 dmesg:
https://dmesgd.nycbug.org/index.cgi?do=view&id=5459
Should be pulled up to netbsd-8 and netbsd-9.
To generate a diff of this commit:
cvs rdiff -u -r1.230 -r1.230.4.1 src/sys/arch/hp300/hp300/machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/hp300/hp300/machdep.c
diff -u src/sys/arch/hp300/hp300/machdep.c:1.230 src/sys/arch/hp300/hp300/machdep.c:1.230.4.1
--- src/sys/arch/hp300/hp300/machdep.c:1.230 Thu Mar 14 16:59:09 2019
+++ src/sys/arch/hp300/hp300/machdep.c Fri Apr 24 17:25:10 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.230 2019/03/14 16:59:09 thorpej Exp $ */
+/* $NetBSD: machdep.c,v 1.230.4.1 2020/04/24 17:25:10 martin Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.230 2019/03/14 16:59:09 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.230.4.1 2020/04/24 17:25:10 martin Exp $");
#include "opt_ddb.h"
#include "opt_compat_netbsd.h"
@@ -433,6 +433,7 @@ identifycpu(void)
/*
* ...and the FPU type.
*/
+ fpu[0] = '\0';
switch (fputype) {
case FPU_68040:
strlcpy(fpu, "+FPU", sizeof(fpu));
@@ -458,6 +459,7 @@ identifycpu(void)
/*
* ...and finally, the cache type.
*/
+ cache[0] = '\0';
if (cputype == CPU_68040)
snprintf(cache, sizeof(cache),
", 4k on-chip physical I/D caches");