diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c index 42b223bb24bb..917503ccf219 100644 --- a/sbin/ping6/ping6.c +++ b/sbin/ping6/ping6.c @@ -307,7 +307,7 @@ main(int argc, char *argv[]) int ip6optlen = 0; struct cmsghdr *scmsgp = NULL; /* For control (ancillary) data received from recvmsg() */ - struct cmsghdr cm[CONTROLLEN]; + u_char cm[CONTROLLEN]; #if defined(SO_SNDBUF) && defined(SO_RCVBUF) u_long lsockbufsize; int sockbufsize = 0;