diff --git a/[refs] b/[refs] index a44882e52340..e915adc55322 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ba95b2353cf1a7f7f236946530ccf5d0ccec6b38 +refs/heads/master: c2a2b8d3b299feb7ac62c2825941dec57141f6f4 diff --git a/trunk/net/rose/af_rose.c b/trunk/net/rose/af_rose.c index a7f1ce11bc22..d902e2da2782 100644 --- a/trunk/net/rose/af_rose.c +++ b/trunk/net/rose/af_rose.c @@ -690,7 +690,7 @@ static int rose_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) source = &addr->srose_call; - user = ax25_findbyuid(current->euid); + user = ax25_findbyuid(current_euid()); if (user) { rose->source_call = user->call; ax25_uid_put(user); @@ -791,7 +791,7 @@ static int rose_connect(struct socket *sock, struct sockaddr *uaddr, int addr_le goto out_release; } - user = ax25_findbyuid(current->euid); + user = ax25_findbyuid(current_euid()); if (!user) { err = -EINVAL; goto out_release;