patch-2.4.0-test5 linux/net/econet/af_econet.c
Next file: linux/net/ethernet/pe2.c
Previous file: linux/net/decnet/dn_table.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Jul 21 14:21:58 2000
- Orig file:
v2.4.0-test4/linux/net/econet/af_econet.c
- Orig date:
Wed Apr 26 16:34:09 2000
diff -u --recursive --new-file v2.4.0-test4/linux/net/econet/af_econet.c linux/net/econet/af_econet.c
@@ -594,7 +594,7 @@
if (edev == NULL)
{
/* Magic up a new one. */
- edev = kmalloc(GFP_KERNEL, sizeof(struct ec_device));
+ edev = kmalloc(sizeof(struct ec_device), GFP_KERNEL);
if (edev == NULL) {
printk("af_ec: memory squeeze.\n");
dev_put(dev);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)