Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
[cascardo/linux.git] / net / ax25 / af_ax25.c
index 28c7157..00d9e5e 100644 (file)
@@ -1045,7 +1045,7 @@ static int ax25_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
        if (addr->fsa_ax25.sax25_family != AF_AX25)
                return -EINVAL;
 
-       user = ax25_findbyuid(current->euid);
+       user = ax25_findbyuid(current_euid());
        if (user) {
                call = user->call;
                ax25_uid_put(user);