diff options
-rw-r--r-- | src/cpu/ppc/ppc4xx/clock.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |