From 0f0b7aa2898c593d835e8610d1d6101dfd7a9126 Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Mon, 25 Jul 2016 15:59:31 +0000 Subject: [PATCH] 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 --- sys/arm64/arm64/mp_machdep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/arm64/mp_machdep.c b/sys/arm64/arm64/mp_machdep.c index 93af8072e4f..bd43be7b6aa 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 -- 2.45.2