diff options
Diffstat (limited to 'sys/kern/subr_log.c')
-rw-r--r-- | sys/kern/subr_log.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/kern/subr_log.c b/sys/kern/subr_log.c index 6720d5ede34..8a4746fd93a 100644 --- a/sys/kern/subr_log.c +++ b/sys/kern/subr_log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_log.c,v 1.26 2015/01/13 10:07:58 mpf Exp $ */ +/* $OpenBSD: subr_log.c,v 1.27 2015/01/13 18:51:27 kettenis Exp $ */ /* $NetBSD: subr_log.c,v 1.11 1996/03/30 22:24:44 christos Exp $ */ /* @@ -117,6 +117,12 @@ initmsgbuf(caddr_t buf, size_t bufsize) /* mark it as ready for use. */ msgbufmapped = 1; +} + +void +initconsbuf(void) +{ + long new_bufs; /* Set up a buffer to collect /dev/console output */ consbufp = malloc(CONSBUFSIZE, M_TEMP, M_NOWAIT|M_ZERO); |