diff options
author | Matthew McClintock <msm@freescale.com> | 2010-11-15 18:02:53 -0600 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-11-17 22:05:11 +0100 |
commit | f7ac99fdd9eaf64df9731c2e8fdf97e9d3e2c82a (patch) | |
tree | f4a49320f7aa9c2628140dc0eb59a703e92bcc86 /drivers/net/e1000.c | |
parent | 6d8962e814c15807dd6ac5757904be2a02d187b8 (diff) | |
download | u-boot-imx-f7ac99fdd9eaf64df9731c2e8fdf97e9d3e2c82a.zip u-boot-imx-f7ac99fdd9eaf64df9731c2e8fdf97e9d3e2c82a.tar.gz u-boot-imx-f7ac99fdd9eaf64df9731c2e8fdf97e9d3e2c82a.tar.bz2 |
net: e1000: typo using wrong argument to sizeof
Typo from 4b29bdb0ed08412d225a8be94f61fc6c37a59dd5
Signed-off-by: Matthew McClintock <msm@freescale.com>
Diffstat (limited to 'drivers/net/e1000.c')
-rw-r--r-- | drivers/net/e1000.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ e1000_initialize(bd_t * bis) return 0; } - memset(nic, 0, sizeof(*dev)); + memset(nic, 0, sizeof(*nic)); memset(hw, 0, sizeof(*hw)); hw->pdev = devno; |