Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Suppress pool redzone message unless booted with de...



details:   https://anonhg.NetBSD.org/src/rev/65a785e3d59c
branches:  trunk
changeset: 938283:65a785e3d59c
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sat Sep 05 17:33:11 2020 +0000

description:
Suppress pool redzone message unless booted with debug.

diffstat:

 sys/kern/subr_pool.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ff17579bc0f4 -r 65a785e3d59c sys/kern/subr_pool.c
--- a/sys/kern/subr_pool.c      Sat Sep 05 16:59:19 2020 +0000
+++ b/sys/kern/subr_pool.c      Sat Sep 05 17:33:11 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_pool.c,v 1.273 2020/06/19 13:49:38 jdolecek Exp $ */
+/*     $NetBSD: subr_pool.c,v 1.274 2020/09/05 17:33:11 riastradh Exp $        */
 
 /*
  * Copyright (c) 1997, 1999, 2000, 2002, 2007, 2008, 2010, 2014, 2015, 2018,
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.273 2020/06/19 13:49:38 jdolecek Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_pool.c,v 1.274 2020/09/05 17:33:11 riastradh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ddb.h"
@@ -3087,7 +3087,7 @@
        } else {
                /* No space for a red zone... snif :'( */
                pp->pr_redzone = false;
-               printf("pool redzone disabled for '%s'\n", pp->pr_wchan);
+               aprint_debug("pool redzone disabled for '%s'\n", pp->pr_wchan);
        }
 }
 



Home | Main Index | Thread Index | Old Index