diff options
author | dg <dg@FreeBSD.org> | 1998-06-05 21:48:45 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1998-06-05 21:48:45 +0000 |
commit | 3baa0462547cb98ece8c9d8ac604a70290e7d83f (patch) | |
tree | e1c87e4aeb4075716ecde03be5a1f339fb0a2e6e /sys/vm/vm_kern.c | |
parent | 045446fee68d329879d16931b2dc25196f3ecead (diff) | |
download | FreeBSD-src-3baa0462547cb98ece8c9d8ac604a70290e7d83f.zip FreeBSD-src-3baa0462547cb98ece8c9d8ac604a70290e7d83f.tar.gz |
Changed the log() of "Out of mbuf clusters - increase maxusers" to a
printf() of "Out of mbuf clusters - adjust NMBCLUSTERS or increase
maxusers" so that the message is more informative and so that it will
appear in the kernel message buffer.
Diffstat (limited to 'sys/vm/vm_kern.c')
-rw-r--r-- | sys/vm/vm_kern.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c index 179a9cc..ffe110d 100644 --- a/sys/vm/vm_kern.c +++ b/sys/vm/vm_kern.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_kern.c,v 1.45 1998/02/23 08:22:29 dyson Exp $ + * $Id: vm_kern.c,v 1.46 1998/03/01 04:18:20 dyson Exp $ */ /* @@ -295,7 +295,7 @@ kmem_malloc(map, size, waitflag) vm_map_unlock(map); if (map == mb_map) { mb_map_full = TRUE; - log(LOG_ERR, "Out of mbuf clusters - increase maxusers!\n"); + printf("Out of mbuf clusters - adjust NMBCLUSTERS or increase maxusers!\n"); return (0); } if (waitflag == M_WAITOK) |