net: Print functions in /proc/net/ptype without the offset.
authorDavid S. Miller <davem@davemloft.net>
Mon, 25 Mar 2013 18:12:55 +0000 (14:12 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 25 Mar 2013 18:12:55 +0000 (14:12 -0400)
It's always zero.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/net-procfs.c

index 3174f1998ee6b33509bd606df6a4890e24420f6b..569d355fec3e8adac815c1819e43abbac98fcf39 100644 (file)
@@ -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);
        }