diff options
-rw-r--r-- | sys/netatalk/at_control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatalk/at_control.c b/sys/netatalk/at_control.c index 712d27ed5dd3..65608b72815d 100644 --- a/sys/netatalk/at_control.c +++ b/sys/netatalk/at_control.c @@ -140,7 +140,7 @@ at_control( int cmd, caddr_t data, struct ifnet *ifp, struct proc *p ) */ if ( aa == (struct at_ifaddr *) 0 ) { aa0 = malloc(sizeof(struct at_ifaddr), M_IFADDR, M_WAITOK); - bzero(aa0, sizeof(struct ifaddr)); + bzero(aa0, sizeof(struct at_ifaddr)); if (( aa = at_ifaddr ) != NULL ) { /* * Don't let the loopback be first, since the first |