1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

Hide the "ENOMEM" notice messages behind bootverbose. They are still

a valuable debugging tool for certain kinds of problems.

Approved by:	re/scottl
This commit is contained in:
Poul-Henning Kamp 2003-05-07 05:37:31 +00:00
parent 430c635447
commit 2cc9686e52
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114795

View File

@ -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;