diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-27 22:42:27 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-27 22:42:27 +0000 |
commit | dbf5cd2b57217eb6c73488177fc6a096ead934b6 (patch) | |
tree | 1de192fde2322188e529943e6982359b783fd78e /sys/netatalk/aarp.c | |
parent | 5a53b379176ab48879944fa794655a1cbc840630 (diff) | |
download | FreeBSD-src-dbf5cd2b57217eb6c73488177fc6a096ead934b6.zip FreeBSD-src-dbf5cd2b57217eb6c73488177fc6a096ead934b6.tar.gz |
Fix warnings in preparation for adding -Wall -Wcast-qual to the
kernel compile
Diffstat (limited to 'sys/netatalk/aarp.c')
-rw-r--r-- | sys/netatalk/aarp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netatalk/aarp.c b/sys/netatalk/aarp.c index 27295dc..e6023d6 100644 --- a/sys/netatalk/aarp.c +++ b/sys/netatalk/aarp.c @@ -404,7 +404,7 @@ at_aarpinput( struct arpcom *ac, struct mbuf *m) if ( aat == 0 && tpa.s_net == ma.s_net && tpa.s_node == ma.s_node && op != AARPOP_PROBE ) { - if ( aat = aarptnew( &spa )) { + if ((aat = aarptnew( &spa )) != NULL) { bcopy(( caddr_t )ea->aarp_sha, ( caddr_t )aat->aat_enaddr, sizeof( ea->aarp_sha )); aat->aat_flags |= ATF_COM; |