diff options
author | phk <phk@FreeBSD.org> | 2003-05-07 05:37:31 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-07 05:37:31 +0000 |
commit | 4e002d7a9376a0f052250129c3149189e8039285 (patch) | |
tree | 8834dbbc30254b6be01105d9e260d398684fbb42 /sys | |
parent | f332b502284cf247d9ce1dfe30f6378c9bc2afc8 (diff) | |
download | FreeBSD-src-4e002d7a9376a0f052250129c3149189e8039285.zip FreeBSD-src-4e002d7a9376a0f052250129c3149189e8039285.tar.gz |
Hide the "ENOMEM" notice messages behind bootverbose. They are still
a valuable debugging tool for certain kinds of problems.
Approved by: re/scottl
Diffstat (limited to 'sys')
-rw-r--r-- | sys/geom/geom_io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/geom_io.c b/sys/geom/geom_io.c index 708a1dd..27a8859 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; |