projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25c7704
)
net: Print functions in /proc/net/ptype without the offset.
author
David S. Miller
<davem@davemloft.net>
Mon, 25 Mar 2013 18:12:55 +0000
(14:12 -0400)
committer
David S. Miller
<davem@davemloft.net>
Mon, 25 Mar 2013 18:12:55 +0000
(14:12 -0400)
It's always zero.
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-procfs.c
patch
|
blob
|
history
diff --git
a/net/core/net-procfs.c
b/net/core/net-procfs.c
index
3174f19
..
569d355
100644
(file)
--- a/
net/core/net-procfs.c
+++ b/
net/core/net-procfs.c
@@
-271,7
+271,7
@@
static int ptype_seq_show(struct seq_file *seq, void *v)
else
seq_printf(seq, "%04x", ntohs(pt->type));
- seq_printf(seq, " %-8s %p
F
\n",
+ seq_printf(seq, " %-8s %p
f
\n",
pt->dev ? pt->dev->name : "", pt->func);
}