]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/afs/proc.c
mmc_spi: wait more bytes for card response
[linux-2.6-omap-h63xx.git] / fs / afs / proc.c
index 9f7d1ae70269ac9de86404e5b6eb36b6a4d34f29..7578c1ab9e0be9ec3260c4cce41b78287f213bce 100644 (file)
@@ -646,7 +646,7 @@ static int afs_proc_cell_vlservers_show(struct seq_file *m, void *v)
        }
 
        /* display one cell per line on subsequent lines */
-       seq_printf(m, "%u.%u.%u.%u\n", NIPQUAD(addr->s_addr));
+       seq_printf(m, "%pI4\n", &addr->s_addr);
        return 0;
 }
 
@@ -737,7 +737,7 @@ static int afs_proc_cell_servers_show(struct seq_file *m, void *v)
        }
 
        /* display one cell per line on subsequent lines */
-       sprintf(ipaddr, "%u.%u.%u.%u", NIPQUAD(server->addr));
+       sprintf(ipaddr, "%pI4", &server->addr);
        seq_printf(m, "%3d %-15.15s %5d\n",
                   atomic_read(&server->usage), ipaddr, server->fs_state);