ofw_reg_to_paddr(): Fix minor typo in KASSERT message

This commit is contained in:
Justin Hibbits 2018-06-15 03:28:05 +00:00
parent 2e3f84e5b7
commit ec0646391d

View File

@ -170,7 +170,7 @@ ofw_reg_to_paddr(phandle_t dev, int regno, bus_addr_t *paddr,
}
KASSERT(addr <= BUS_SPACE_MAXADDR,
("Bus sddress is too large: %jx", (uintmax_t)addr));
("Bus address is too large: %jx", (uintmax_t)addr));
KASSERT(size <= BUS_SPACE_MAXSIZE,
("Bus size is too large: %jx", (uintmax_t)size));