patch-2.4.3 linux/net/core/dev.c
Next file: linux/net/core/dv.c
Previous file: linux/net/atm/proc.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Fri Mar 2 11:02:15 2001
- Orig file:
v2.4.2/linux/net/core/dev.c
- Orig date:
Mon Dec 11 13:29:35 2000
diff -u --recursive --new-file v2.4.2/linux/net/core/dev.c linux/net/core/dev.c
@@ -349,7 +349,7 @@
/*
* Saves at boot time configured settings for any netdevice.
*/
-static int __init netdev_boot_setup(char *str)
+int __init netdev_boot_setup(char *str)
{
int ints[5];
struct ifmap map;
@@ -359,7 +359,7 @@
return 0;
/* Save settings */
- memset(&map, -1, sizeof(map));
+ memset(&map, 0, sizeof(map));
if (ints[0] > 0)
map.irq = ints[1];
if (ints[0] > 1)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)