dmesg.c output made conformant to other implementations