Fix display bugs in printk.