Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/usermode/usermode Remove yet another debug printf()



details:   https://anonhg.NetBSD.org/src/rev/61d4bee6cefd
branches:  trunk
changeset: 991809:61d4bee6cefd
user:      reinoud <reinoud%NetBSD.org@localhost>
date:      Wed Aug 01 10:27:28 2018 +0000

description:
Remove yet another debug printf()

diffstat:

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

diffs (27 lines):

diff -r 47efaa7909af -r 61d4bee6cefd sys/arch/usermode/usermode/db_memrw.c
--- a/sys/arch/usermode/usermode/db_memrw.c     Wed Aug 01 10:24:41 2018 +0000
+++ b/sys/arch/usermode/usermode/db_memrw.c     Wed Aug 01 10:27:28 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_memrw.c,v 1.1 2018/08/01 10:22:20 reinoud Exp $     */
+/*     $NetBSD: db_memrw.c,v 1.2 2018/08/01 10:27:28 reinoud Exp $     */
 
 /*-
  * Copyright (c) 1996, 2000 The NetBSD Foundation, Inc.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_memrw.c,v 1.1 2018/08/01 10:22:20 reinoud Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_memrw.c,v 1.2 2018/08/01 10:27:28 reinoud Exp $");
 
 #include <sys/param.h>
 #include <sys/proc.h>
@@ -216,7 +216,7 @@
 //     size_t i;
 
        dst = (char *)addr;
-thunk_printf("\n%s : %p + %d\n", __func__, dst, (int) size);
+       thunk_printf_debug("\n%s : %p + %d\n", __func__, dst, (int) size);
 #if 0
        // TODO: check if we in kernel range and if so, do the mmap dance
        // ourselves?



Home | Main Index | Thread Index | Old Index