]> Pileus Git - ~andy/linux/blobdiff - net/ax25/af_ax25.c
Merge branch 'docs-next' of git://git.lwn.net/linux-2.6
[~andy/linux] / net / ax25 / af_ax25.c
index 28c71574a781e6b0600f453275e50bf8911dcca9..00d9e5e131582669cab51f01b91b43c204ea0da8 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);