Skip to content

Commit eaac5f3

Browse files
committed
net: Print functions in /proc/net/ptype without the offset.
It's always zero. Signed-off-by: David S. Miller <[email protected]>
1 parent 25c7704 commit eaac5f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/core/net-procfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ static int ptype_seq_show(struct seq_file *seq, void *v)
271271
else
272272
seq_printf(seq, "%04x", ntohs(pt->type));
273273

274-
seq_printf(seq, " %-8s %pF\n",
274+
seq_printf(seq, " %-8s %pf\n",
275275
pt->dev ? pt->dev->name : "", pt->func);
276276
}
277277

0 commit comments

Comments
 (0)