summaryrefslogtreecommitdiff
path: root/net/core/net-procfs.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2013-03-25 22:12:55 +0400
committerDavid S. Miller <davem@davemloft.net>2013-03-25 22:12:55 +0400
commiteaac5f3d3ad33547b299935e6db0cfc7be9a576a (patch)
treed5d762d05e24f9cd9959553210cf8590b57759e3 /net/core/net-procfs.c
parent25c7704d8bdcf6746dab4397953df51759924b37 (diff)
downloadlinux-eaac5f3d3ad33547b299935e6db0cfc7be9a576a.tar.xz
net: Print functions in /proc/net/ptype without the offset.
It's always zero. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-procfs.c')
-rw-r--r--net/core/net-procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/net-procfs.c b/net/core/net-procfs.c
index 3174f1998ee6..569d355fec3e 100644
--- 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 %pF\n",
+ seq_printf(seq, " %-8s %pf\n",
pt->dev ? pt->dev->name : "", pt->func);
}