mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 00:21:59 +00:00
net: Print functions in /proc/net/ptype without the offset.
It's always zero. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
25c7704d8b
commit
eaac5f3d3a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user