summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-02-16 20:42:11 +0000
committerobrien <obrien@FreeBSD.org>2004-02-16 20:42:11 +0000
commit80b83a9bd69019cd69323cddae4c76962dfdf737 (patch)
tree8491ece2475984fb5753cd9cc83aab142e44b9f3
parent80b725fa150ba392556b12b559adc42643393cc0 (diff)
downloadFreeBSD-src-80b83a9bd69019cd69323cddae4c76962dfdf737.zip
FreeBSD-src-80b83a9bd69019cd69323cddae4c76962dfdf737.tar.gz
Increase the size of MSGBUF_SIZE if booted with -v.
-rw-r--r--sys/sys/msgbuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/msgbuf.h b/sys/sys/msgbuf.h
index b92ccc8..7226b4e 100644
--- a/sys/sys/msgbuf.h
+++ b/sys/sys/msgbuf.h
@@ -71,7 +71,7 @@ int msgbuf_peekbytes(struct msgbuf *mbp, char *buf, int buflen,
u_int *seqp);
#if !defined(MSGBUF_SIZE)
-#define MSGBUF_SIZE 32768
+#define MSGBUF_SIZE (32768 * bootverbose ? 2 : 1)
#endif
#endif
OpenPOWER on IntegriCloud