diff options
Diffstat (limited to 'sbin/ping6')
-rw-r--r-- | sbin/ping6/ping6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c index d9f49b9..9f43a23 100644 --- a/sbin/ping6/ping6.c +++ b/sbin/ping6/ping6.c @@ -314,8 +314,8 @@ main(argc, argv) size_t rthlen; /* 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]; |