From e85bd57a0e106c7ae3fc44dccf9bac89e2f9939e Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Tue, 1 Jun 2004 09:07:16 +0000 Subject: bzero has 2 arguments. --- sysdep/bsd/sysio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdep') diff --git a/sysdep/bsd/sysio.h b/sysdep/bsd/sysio.h index 8afa50b..399cbcd 100644 --- a/sysdep/bsd/sysio.h +++ b/sysdep/bsd/sysio.h @@ -57,7 +57,7 @@ sysio_mcast_join(sock * s) set_inaddr(&m, s->iface->addr->ip ); - bzero(&mreq, 0, sizeof(mreq)); + bzero(&mreq, sizeof(mreq)); set_inaddr(&mreq.imr_interface, s->iface->addr->ip); set_inaddr(&mreq.imr_multiaddr, s->daddr); -- cgit v1.2.3