projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: replace NIPQUAD() in net/*/
[deliverable/linux.git]
/
net
/
atm
/
clip.c
diff --git
a/net/atm/clip.c
b/net/atm/clip.c
index 5b5b96344ce60fba334fb291a8fe21393aa8bb26..2d33a83be799c36dec054340553610d64e61070c 100644
(file)
--- a/
net/atm/clip.c
+++ b/
net/atm/clip.c
@@
-822,8
+822,8
@@
static void atmarp_info(struct seq_file *seq, struct net_device *dev,
seq_printf(seq, "%-6s%-4s%-4s%5ld ",
dev->name, svc ? "SVC" : "PVC", llc ? "LLC" : "NULL", exp);
seq_printf(seq, "%-6s%-4s%-4s%5ld ",
dev->name, svc ? "SVC" : "PVC", llc ? "LLC" : "NULL", exp);
- off = scnprintf(buf, sizeof(buf) - 1, "%
d.%d.%d.%d
",
-
NIPQUAD(entry->ip)
);
+ off = scnprintf(buf, sizeof(buf) - 1, "%
pI4
",
+
&entry->ip
);
while (off < 16)
buf[off++] = ' ';
buf[off] = '\0';
while (off < 16)
buf[off++] = ' ';
buf[off] = '\0';
This page took
0.027445 seconds
and
5
git commands to generate.