Skip to content

Commit

Permalink
net: Print functions in /proc/net/ptype without the offset.
Browse files Browse the repository at this point in the history
It's always zero.

Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
davem330 committed Mar 25, 2013
1 parent 25c7704 commit eaac5f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/core/net-procfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit eaac5f3

Please sign in to comment.