commit | eaac5f3d3ad33547b299935e6db0cfc7be9a576a | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Mon Mar 25 14:12:55 2013 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 25 14:12:55 2013 -0400 |
tree | d5d762d05e24f9cd9959553210cf8590b57759e3 | |
parent | 25c7704d8bdcf6746dab4397953df51759924b37 [diff] [blame] |
net: Print functions in /proc/net/ptype without the offset. It's always zero. Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/core/net-procfs.c b/net/core/net-procfs.c index 3174f19..569d355 100644 --- a/net/core/net-procfs.c +++ b/net/core/net-procfs.c
@@ -271,7 +271,7 @@ 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); }