aboutsummaryrefslogtreecommitdiff
path: root/sys/arm64/arm64/mp_machdep.c
diff options
context:
space:
mode:
authorAndrew Turner <andrew@FreeBSD.org>2016-07-25 15:59:31 +0000
committerAndrew Turner <andrew@FreeBSD.org>2016-07-25 15:59:31 +0000
commit0f0b7aa2898c593d835e8610d1d6101dfd7a9126 (patch)
tree09b458eb5f992e74dd73a18d31bf7e83cb806e01 /sys/arm64/arm64/mp_machdep.c
parent8ec2b5df7372a5f2235021659054684bc4ac6ff5 (diff)
downloadsrc-0f0b7aa2898c593d835e8610d1d6101dfd7a9126.tar.gz
src-0f0b7aa2898c593d835e8610d1d6101dfd7a9126.zip
Fix a typo in a string in a KASSERT to sanity check the CPU IDs.
Obtained from: ABT Systems Ltd MFC after: 1 month Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=303308
Diffstat (limited to 'sys/arm64/arm64/mp_machdep.c')
-rw-r--r--sys/arm64/arm64/mp_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/arm64/arm64/mp_machdep.c b/sys/arm64/arm64/mp_machdep.c
index 93af8072e4f2..bd43be7b6aa3 100644
--- a/sys/arm64/arm64/mp_machdep.c
+++ b/sys/arm64/arm64/mp_machdep.c
@@ -441,7 +441,7 @@ cpu_init_fdt(u_int id, phandle_t node, u_int addr_size, pcell_t *reg)
if (id > mp_maxid)
return (0);
- KASSERT(id < MAXCPU, ("Too mant CPUs"));
+ KASSERT(id < MAXCPU, ("Too many CPUs"));
KASSERT(addr_size == 1 || addr_size == 2, ("Invalid register size"));
#ifdef INVARIANTS