]> git.hungrycats.org Git - linux/commitdiff
[AX25]: Fix build.
authorDavid S. Miller <davem@sunset.davemloft.net>
Wed, 16 Mar 2005 06:26:05 +0000 (22:26 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 16 Mar 2005 06:26:05 +0000 (22:26 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ax25/af_ax25.c

index a24edd99bcb8e7d56e9d30022fb3ee22b9181f0c..fbef221c2f657749038fc065059eaf067cbf19c0 100644 (file)
@@ -1421,7 +1421,7 @@ static int ax25_sendmsg(struct kiocb *iocb, struct socket *sock,
        lock_sock(sk);
        ax25 = ax25_sk(sk);
 
-       if (sock_flag(sk, SOCK_ZAPPED))
+       if (sock_flag(sk, SOCK_ZAPPED)) {
                err = -EADDRNOTAVAIL;
                goto out;
        }