summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/aim
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2009-11-09 21:12:28 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2009-11-09 21:12:28 +0000
commitf44a14ea63a73b4cf28c53806a98401704b114c2 (patch)
treec9336efc347bf1a6616c620da600f35e3df02856 /sys/powerpc/aim
parent66d73d40283f1b9967da982f3a6dfc80eeb35d27 (diff)
downloadFreeBSD-src-f44a14ea63a73b4cf28c53806a98401704b114c2.zip
FreeBSD-src-f44a14ea63a73b4cf28c53806a98401704b114c2.tar.gz
Spell sz correctly.
Pointed out by: jmallett
Diffstat (limited to 'sys/powerpc/aim')
-rw-r--r--sys/powerpc/aim/mmu_oea64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/aim/mmu_oea64.c b/sys/powerpc/aim/mmu_oea64.c
index e9b9a1f..0fde1c9 100644
--- a/sys/powerpc/aim/mmu_oea64.c
+++ b/sys/powerpc/aim/mmu_oea64.c
@@ -897,7 +897,7 @@ moea64_bridge_bootstrap(mmu_t mmup, vm_offset_t kernelstart, vm_offset_t kernele
panic("moea64_bootstrap: can't get mmu package");
if ((sz = OF_getproplen(mmu, "translations")) == -1)
panic("moea64_bootstrap: can't get ofw translation count");
- if (size > sizeof(translations))
+ if (sz > sizeof(translations))
panic("moea64_bootstrap: too many ofw translations (%d)",
sz/sizeof(*translations));
OpenPOWER on IntegriCloud