diff options
Diffstat (limited to 'fs/cifs/cifsfs.c')
-rw-r--r-- | fs/cifs/cifsfs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 974c8f0e615e..0005a194a75c 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -361,12 +361,12 @@ cifs_show_options(struct seq_file *s, struct vfsmount *m) | |||
361 | switch (server->addr.sockAddr6. | 361 | switch (server->addr.sockAddr6. |
362 | sin6_family) { | 362 | sin6_family) { |
363 | case AF_INET6: | 363 | case AF_INET6: |
364 | seq_printf(s, NIP6_FMT, | 364 | seq_printf(s, "%pI6", |
365 | NIP6(server->addr.sockAddr6.sin6_addr)); | 365 | &server->addr.sockAddr6.sin6_addr); |
366 | break; | 366 | break; |
367 | case AF_INET: | 367 | case AF_INET: |
368 | seq_printf(s, NIPQUAD_FMT, | 368 | seq_printf(s, "%pI4", |
369 | NIPQUAD(server->addr.sockAddr.sin_addr.s_addr)); | 369 | &server->addr.sockAddr.sin_addr.s_addr); |
370 | break; | 370 | break; |
371 | } | 371 | } |
372 | } | 372 | } |