aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2003-05-07 05:37:31 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2003-05-07 05:37:31 +0000
commit2cc9686e52904c1532424f84555ec64f7c502cd3 (patch)
tree8834dbbc30254b6be01105d9e260d398684fbb42 /sys
parent430c635447631f980240511dc5fcf926ea2316ca (diff)
downloadsrc-2cc9686e52904c1532424f84555ec64f7c502cd3.tar.gz
src-2cc9686e52904c1532424f84555ec64f7c502cd3.zip
Hide the "ENOMEM" notice messages behind bootverbose. They are still
a valuable debugging tool for certain kinds of problems. Approved by: re/scottl
Notes
Notes: svn path=/head/; revision=114795
Diffstat (limited to 'sys')
-rw-r--r--sys/geom/geom_io.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c
index 708a1dd16b3c..27a8859a4e04 100644
--- a/sys/geom/geom_io.c
+++ b/sys/geom/geom_io.c
@@ -283,7 +283,8 @@ g_io_deliver(struct bio *bp, int error)
pp->nend++;
if (error == ENOMEM) {
- printf("ENOMEM %p on %p(%s)\n", bp, pp, pp->name);
+ if (bootverbose)
+ printf("ENOMEM %p on %p(%s)\n", bp, pp, pp->name);
g_io_request(bp, cp);
pace++;
return;