Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86512
b: refs/heads/master
c: 4436f4c
h: refs/heads/master
v: v3
  • Loading branch information
Wang Chen authored and David S. Miller committed Feb 28, 2008
1 parent 6aeda28 commit 821d2d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 160f17e345f5b50484d6cdc985b8686a05bf015d
refs/heads/master: 4436f4cbfac15acea139863e322ed2f9efb118d3
4 changes: 2 additions & 2 deletions trunk/net/ipv6/proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -217,12 +217,12 @@ int snmp6_register_dev(struct inet6_dev *idev)
if (!proc_net_devsnmp6)
return -ENOENT;

p = create_proc_entry(idev->dev->name, S_IRUGO, proc_net_devsnmp6);
p = proc_create(idev->dev->name, S_IRUGO,
proc_net_devsnmp6, &snmp6_seq_fops);
if (!p)
return -ENOMEM;

p->data = idev;
p->proc_fops = &snmp6_seq_fops;

idev->stats.proc_dir_entry = p;
return 0;
Expand Down

0 comments on commit 821d2d4

Please sign in to comment.