Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120704
b: refs/heads/master
c: 7340040
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and James Morris committed Nov 13, 2008
1 parent ece08ef commit d696d0a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 414c0708d0d60eccf8345c405ac81cf32c43e901
refs/heads/master: 734004072e05ae81c3cdd0a04ee37868fb09b71e
2 changes: 1 addition & 1 deletion trunk/net/ax25/af_ax25.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion trunk/net/ax25/ax25_route.c
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ int ax25_rt_autobind(ax25_cb *ax25, ax25_address *addr)
goto put;
}

user = ax25_findbyuid(current->euid);
user = ax25_findbyuid(current_euid());
if (user) {
ax25->source_addr = user->call;
ax25_uid_put(user);
Expand Down

0 comments on commit d696d0a

Please sign in to comment.