Date: Mon, 9 Nov 2009 21:12:29 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r199108 - head/sys/powerpc/aim Message-ID: <200911092112.nA9LCTxX034474@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nwhitehorn Date: Mon Nov 9 21:12:28 2009 New Revision: 199108 URL: http://svn.freebsd.org/changeset/base/199108 Log: Spell sz correctly. Pointed out by: jmallett Modified: head/sys/powerpc/aim/mmu_oea64.c Modified: head/sys/powerpc/aim/mmu_oea64.c ============================================================================== --- head/sys/powerpc/aim/mmu_oea64.c Mon Nov 9 20:49:12 2009 (r199107) +++ head/sys/powerpc/aim/mmu_oea64.c Mon Nov 9 21:12:28 2009 (r199108) @@ -897,7 +897,7 @@ moea64_bridge_bootstrap(mmu_t mmup, vm_o 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));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911092112.nA9LCTxX034474>