diff options
Diffstat (limited to 'net/atm/mpc.c')
-rw-r--r-- | net/atm/mpc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/mpc.c b/net/atm/mpc.c index 0968430a7f5..2086396de17 100644 --- a/net/atm/mpc.c +++ b/net/atm/mpc.c | |||
@@ -244,7 +244,7 @@ static struct net_device *find_lec_by_itfnum(int itf) | |||
244 | char name[IFNAMSIZ]; | 244 | char name[IFNAMSIZ]; |
245 | 245 | ||
246 | sprintf(name, "lec%d", itf); | 246 | sprintf(name, "lec%d", itf); |
247 | dev = dev_get_by_name(name); | 247 | dev = dev_get_by_name(&init_net, name); |
248 | 248 | ||
249 | return dev; | 249 | return dev; |
250 | } | 250 | } |