Commit eaac5f3d authored by David S. Miller's avatar David S. Miller

net: Print functions in /proc/net/ptype without the offset.

It's always zero.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 25c7704d
...@@ -271,7 +271,7 @@ static int ptype_seq_show(struct seq_file *seq, void *v) ...@@ -271,7 +271,7 @@ static int ptype_seq_show(struct seq_file *seq, void *v)
else else
seq_printf(seq, "%04x", ntohs(pt->type)); 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); pt->dev ? pt->dev->name : "", pt->func);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment