diff options
Diffstat (limited to 'net/unix')
-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 7cc3d7b23d1c..aad8fb699989 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -850,7 +850,7 @@ static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) | |||
850 | atomic_set(&addr->refcnt, 1); | 850 | atomic_set(&addr->refcnt, 1); |
851 | 851 | ||
852 | if (sun_path[0]) { | 852 | if (sun_path[0]) { |
853 | unsigned int mode; | 853 | umode_t mode; |
854 | err = 0; | 854 | err = 0; |
855 | /* | 855 | /* |
856 | * Get the parent directory, calculate the hash for last | 856 | * Get the parent directory, calculate the hash for last |