diff options
Diffstat (limited to 'sys/dev/ccd.c')
-rw-r--r-- | sys/dev/ccd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ccd.c b/sys/dev/ccd.c index 5c05feb4dd6..4a889a02a24 100644 --- a/sys/dev/ccd.c +++ b/sys/dev/ccd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ccd.c,v 1.82 2007/09/12 18:45:14 mk Exp $ */ +/* $OpenBSD: ccd.c,v 1.83 2008/06/14 10:55:20 mk Exp $ */ /* $NetBSD: ccd.c,v 1.33 1996/05/05 04:21:14 thorpej Exp $ */ /*- @@ -211,8 +211,8 @@ getccdbuf(void) { struct ccdbuf *cbp; - if ((cbp = pool_get(&ccdbufpl, PR_WAITOK))) - bzero(cbp, sizeof(struct ccdbuf)); + cbp = pool_get(&ccdbufpl, PR_WAITOK | PR_ZERO); + return (cbp); } |