diff options
Diffstat (limited to 'net/unix/af_unix.c')
-rw-r--r-- | net/unix/af_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index b595a3d8679f..412a99f4a3f7 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -847,7 +847,7 @@ static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) | |||
847 | atomic_set(&addr->refcnt, 1); | 847 | atomic_set(&addr->refcnt, 1); |
848 | 848 | ||
849 | if (sun_path[0]) { | 849 | if (sun_path[0]) { |
850 | unsigned int mode; | 850 | umode_t mode; |
851 | err = 0; | 851 | err = 0; |
852 | /* | 852 | /* |
853 | * Get the parent directory, calculate the hash for last | 853 | * Get the parent directory, calculate the hash for last |