commit | 5761ce48ba4d56c08c67c444566c93e8b54263ff | [log] [tgz] |
---|---|---|
author | Matthew McClintock <msm@freescale.com> | Mon Nov 15 18:02:53 2010 -0600 |
committer | Wolfgang Denk <wd@denx.de> | Wed Nov 17 22:05:11 2010 +0100 |
tree | f4a49320f7aa9c2628140dc0eb59a703e92bcc86 | |
parent | a8d426f353d8014e3f0c270e2c79907729ee934e [diff] |
net: e1000: typo using wrong argument to sizeof Typo from 4b29bdb0ed08412d225a8be94f61fc6c37a59dd5 Signed-off-by: Matthew McClintock <msm@freescale.com>
diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 18584ef..60b04c2 100644 --- a/drivers/net/e1000.c +++ b/drivers/net/e1000.c
@@ -5189,7 +5189,7 @@ return 0; } - memset(nic, 0, sizeof(*dev)); + memset(nic, 0, sizeof(*nic)); memset(hw, 0, sizeof(*hw)); hw->pdev = devno;