aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/netmisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/netmisc.c b/fs/cifs/netmisc.c
index 00e6e357ae88..f9a54da97d34 100644
--- a/fs/cifs/netmisc.c
+++ b/fs/cifs/netmisc.c
@@ -166,7 +166,7 @@ int
166cifs_convert_address(char *src, void *dst) 166cifs_convert_address(char *src, void *dst)
167{ 167{
168 struct sockaddr_in *s4 = (struct sockaddr_in *) dst; 168 struct sockaddr_in *s4 = (struct sockaddr_in *) dst;
169 struct sockaddr_in6 *s6 = (Struct sockaddr_in6 *) dst; 169 struct sockaddr_in6 *s6 = (struct sockaddr_in6 *) dst;
170 170
171 if (cifs_inet_pton(AF_INET, src, &s4->sin_addr.s_addr)) { 171 if (cifs_inet_pton(AF_INET, src, &s4->sin_addr.s_addr)) {
172 s4->sin_family = AF_INET; 172 s4->sin_family = AF_INET;