Module Name: src Committed By: riastradh Date: Sat Sep 5 17:33:11 UTC 2020
Modified Files: src/sys/kern: subr_pool.c Log Message: Suppress pool redzone message unless booted with debug. To generate a diff of this commit: cvs rdiff -u -r1.273 -r1.274 src/sys/kern/subr_pool.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/kern/subr_pool.c diff -u src/sys/kern/subr_pool.c:1.273 src/sys/kern/subr_pool.c:1.274 --- src/sys/kern/subr_pool.c:1.273 Fri Jun 19 13:49:38 2020 +++ src/sys/kern/subr_pool.c Sat Sep 5 17:33:11 2020 @@ -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 @@ pool_redzone_init(struct pool *pp, size_ } 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); } }