patch-2.1.40 linux/drivers/net/dummy.c
Next file: linux/drivers/net/hp100.c
Previous file: linux/drivers/net/defxx.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sun May 18 16:38:34 1997
- Orig file:
v2.1.39/linux/drivers/net/dummy.c
- Orig date:
Wed Apr 23 19:01:19 1997
diff -u --recursive --new-file v2.1.39/linux/drivers/net/dummy.c linux/drivers/net/dummy.c
@@ -134,7 +134,7 @@
{
/* Find a name for this unit */
int err=dev_alloc_name(&dev_dummy,"dummy%d");
- if(err)
+ if(err<0)
return err;
if (register_netdev(&dev_dummy) != 0)
return -EIO;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov