From 6f2e86d2782425e8e5b902c2a2958cda4666f471 Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Sun, 2 Nov 2003 16:58:01 +0000 Subject: trashing stack git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1239 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/cpu/ppc/ppc4xx/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu') diff --git a/src/cpu/ppc/ppc4xx/clock.c b/src/cpu/ppc/ppc4xx/clock.c index 1775b2d6d0..a7ec52fff9 100644 --- a/src/cpu/ppc/ppc4xx/clock.c +++ b/src/cpu/ppc/ppc4xx/clock.c @@ -39,7 +39,7 @@ void get_sys_info (struct ppc4xx_sys_info * sysInfo) unsigned long psr; unsigned long m; - memset(&sysInfo, 0, sizeof(*sysInfo)); + memset(sysInfo, 0, sizeof(*sysInfo)); /* * Read PLL Mode register -- cgit v1.2.3