[kern] Improve error messages
1 file changed