From f272db08999ceeb23d5b3da324de9a092672ca66 Mon Sep 17 00:00:00 2001 From: dyoung Date: Sat, 17 Feb 2007 05:31:39 +0000 Subject: [PATCH] bzero -> memset --- sys/netinet/in_gif.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/netinet/in_gif.c b/sys/netinet/in_gif.c index 02d49d7f1a63..64db262a2b54 100644 --- a/sys/netinet/in_gif.c +++ b/sys/netinet/in_gif.c @@ -1,4 +1,4 @@ -/* $NetBSD: in_gif.c,v 1.53 2006/12/15 21:18:53 joerg Exp $ */ +/* $NetBSD: in_gif.c,v 1.54 2007/02/17 05:31:39 dyoung Exp $ */ /* $KAME: in_gif.c,v 1.66 2001/07/29 04:46:09 itojun Exp $ */ /* @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: in_gif.c,v 1.53 2006/12/15 21:18:53 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: in_gif.c,v 1.54 2007/02/17 05:31:39 dyoung Exp $"); #include "opt_inet.h" #include "opt_iso.h" @@ -185,7 +185,7 @@ in_gif_output(struct ifnet *ifp, int family, struct mbuf *m) else rtcache_check(&sc->gif_ro); if (sc->gif_ro.ro_rt == NULL) { - bzero(dst, sizeof(*dst)); + memset(dst, 0, sizeof(*dst)); dst->sin_family = sin_dst->sin_family; dst->sin_len = sizeof(struct sockaddr_in); dst->sin_addr = sin_dst->sin_addr;