diff options
Diffstat (limited to 'sys/kern/subr_log.c')
| -rw-r--r-- | sys/kern/subr_log.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_log.c b/sys/kern/subr_log.c index 84fa91dcba9..ae0a2a8eaf9 100644 --- a/sys/kern/subr_log.c +++ b/sys/kern/subr_log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_log.c,v 1.17 2011/07/02 22:20:08 nicm Exp $ */ +/* $OpenBSD: subr_log.c,v 1.18 2014/01/21 01:48:44 tedu Exp $ */ /* $NetBSD: subr_log.c,v 1.11 1996/03/30 22:24:44 christos Exp $ */ /* @@ -94,7 +94,7 @@ initmsgbuf(caddr_t buf, size_t bufsize) * internally inconsistent, initialize it. */ - bzero(buf, bufsize); + memset(buf, 0, bufsize); mbp->msg_magic = MSG_MAGIC; mbp->msg_bufs = new_bufs; } |
