Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/powerpc Move the last remaining kernel prin...



details:   https://anonhg.NetBSD.org/src/rev/ff757271181d
branches:  trunk
changeset: 372616:ff757271181d
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Dec 12 13:26:46 2022 +0000

description:
Move the last remaining kernel printf to ofprint.

diffstat:

 sys/arch/powerpc/powerpc/ofw_machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 99d03783b27a -r ff757271181d sys/arch/powerpc/powerpc/ofw_machdep.c
--- a/sys/arch/powerpc/powerpc/ofw_machdep.c    Mon Dec 12 05:09:33 2022 +0000
+++ b/sys/arch/powerpc/powerpc/ofw_machdep.c    Mon Dec 12 13:26:46 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ofw_machdep.c,v 1.35 2022/12/10 13:15:00 martin Exp $  */
+/*     $NetBSD: ofw_machdep.c,v 1.36 2022/12/12 13:26:46 martin Exp $  */
 
 /*-
  * Copyright (c) 2007, 2021 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofw_machdep.c,v 1.35 2022/12/10 13:15:00 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofw_machdep.c,v 1.36 2022/12/12 13:26:46 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/buf.h>
@@ -352,7 +352,7 @@
 
 error:
 #if defined (MAMBO)
-       printf("no memory, assuming 512MB\n");
+       ofprint("no memory, assuming 512MB\n");
 
        OFmem[0].start = 0x0;
        OFmem[0].size = 0x20000000;



Home | Main Index | Thread Index | Old Index