]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/sunrpc/svc_xprt.h
misc: replace NIPQUAD()
[linux-2.6-omap-h63xx.git] / include / linux / sunrpc / svc_xprt.h
index 51cb75ea42d57367b37403e1d02f2f6399a4a7ab..0127daca43548c85c219abc6445101165380eef9 100644 (file)
@@ -139,8 +139,8 @@ static inline char *__svc_print_addr(struct sockaddr *addr,
 {
        switch (addr->sa_family) {
        case AF_INET:
-               snprintf(buf, len, "%u.%u.%u.%u, port=%u",
-                       NIPQUAD(((struct sockaddr_in *) addr)->sin_addr),
+               snprintf(buf, len, "%pI4, port=%u",
+                       &((struct sockaddr_in *)addr)->sin_addr,
                        ntohs(((struct sockaddr_in *) addr)->sin_port));
                break;