diff options
author | Ondrej Filip <feela@network.cz> | 2004-06-01 11:07:16 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2004-06-01 11:07:16 +0200 |
commit | e85bd57a0e106c7ae3fc44dccf9bac89e2f9939e (patch) | |
tree | c15e5f82ebd5880ce7fe835d30095d9b25d2d442 | |
parent | b88a1d4040df6bcd49eefe1c2c1ba8fa66ad0d43 (diff) | |
download | bird-e85bd57a0e106c7ae3fc44dccf9bac89e2f9939e.tar bird-e85bd57a0e106c7ae3fc44dccf9bac89e2f9939e.zip |
bzero has 2 arguments.
-rw-r--r-- | sysdep/bsd/sysio.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |