diff options
| author | cegger <cegger@NetBSD.org> | 2009-03-18 16:00:08 +0000 |
|---|---|---|
| committer | cegger <cegger@NetBSD.org> | 2009-03-18 16:00:08 +0000 |
| commit | c363a9cb62ac8888c384fe0ecac5b88d0f0c02dc (patch) | |
| tree | 6cb4b03d7e1b6c3c8ee2b3f0bc697bd594567a01 /sys/dev/ofisa | |
| parent | 938ad48315a166a10e7694070776470c6faf28a7 (diff) | |
bzero -> memset
Diffstat (limited to 'sys/dev/ofisa')
| -rw-r--r-- | sys/dev/ofisa/ofisa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ofisa/ofisa.c b/sys/dev/ofisa/ofisa.c index 5d6044a7240..c5751064298 100644 --- a/sys/dev/ofisa/ofisa.c +++ b/sys/dev/ofisa/ofisa.c @@ -1,4 +1,4 @@ -/* $NetBSD: ofisa.c,v 1.20 2009/03/14 21:04:21 dsl Exp $ */ +/* $NetBSD: ofisa.c,v 1.21 2009/03/18 16:00:19 cegger Exp $ */ /* * Copyright 1997, 1998 @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ofisa.c,v 1.20 2009/03/14 21:04:21 dsl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ofisa.c,v 1.21 2009/03/18 16:00:19 cegger Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -120,7 +120,7 @@ ofisaattach(struct device *parent, struct device *self, void *aux) if (ofisa_ignore_child(oba->oba_phandle, child)) continue; - bzero(&aa, sizeof aa); + memset(&aa, 0, sizeof aa); aa.oba.oba_busname = "ofw"; /* XXX */ aa.oba.oba_phandle = child; |
