From f0ed7b1f525d21c88da75575c8899a6c013743a0 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 17 Dec 2013 16:10:43 +0000 Subject: replace with memset --- conf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'conf.c') diff --git a/conf.c b/conf.c index d65742f..b651fc0 100644 --- a/conf.c +++ b/conf.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: conf.c,v 1.152 2013/12/16 19:02:17 okan Exp $ + * $OpenBSD: conf.c,v 1.153 2013/12/17 16:10:43 okan Exp $ */ #include @@ -226,7 +226,7 @@ conf_init(struct conf *c) { u_int i; - bzero(c, sizeof(*c)); + (void)memset(c, 0, sizeof(*c)); c->bwidth = CONF_BWIDTH; c->mamount = CONF_MAMOUNT; -- cgit v1.2.3-2-gb3c3