From: Matthew McClintock Date: Tue, 16 Nov 2010 00:02:53 +0000 (-0600) Subject: net: e1000: typo using wrong argument to sizeof X-Git-Tag: v2010.12-rc2~51 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f7ac99fdd9eaf64df9731c2e8fdf97e9d3e2c82a;p=u-boot net: e1000: typo using wrong argument to sizeof Typo from 4b29bdb0ed08412d225a8be94f61fc6c37a59dd5 Signed-off-by: Matthew McClintock --- diff --git a/drivers/net/e1000.c b/drivers/net/e1000.c index 18584efdd5..60b04c267c 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;