diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-12-05 02:08:29 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2002-12-05 02:08:29 +0000 |
commit | f6afc6a0073f39e42f66599a1a75c49801328957 (patch) | |
tree | 20f7e0754df8fda442fee6162d23b54b5046ba67 /sbin/ping6 | |
parent | 1e2354a2fb233c7adb70fab780d51d87b7b940c1 (diff) |
correct sizeof() to memset(). sync w/kame
Diffstat (limited to 'sbin/ping6')
-rw-r--r-- | sbin/ping6/ping6.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c index e5f5636b6f1..58624b4f885 100644 --- a/sbin/ping6/ping6.c +++ b/sbin/ping6/ping6.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ping6.c,v 1.51 2002/10/25 02:25:43 itojun Exp $ */ +/* $OpenBSD: ping6.c,v 1.52 2002/12/05 02:08:28 itojun Exp $ */ /* $KAME: ping6.c,v 1.163 2002/10/25 02:19:06 itojun Exp $ */ /* @@ -324,8 +324,8 @@ main(argc, argv) #endif /* just to be sure */ - memset(&smsghdr, 0, sizeof(&smsghdr)); - memset(&smsgiov, 0, sizeof(&smsgiov)); + memset(&smsghdr, 0, sizeof(smsghdr)); + memset(&smsgiov, 0, sizeof(smsgiov)); preload = 0; datap = &outpack[ICMP6ECHOLEN + ICMP6ECHOTMLEN]; |