提交 eaac5f3d 编写于 作者: D David S. Miller

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

It's always zero.
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 25c7704d
......@@ -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);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册