57b5c74a71
Commit a6251a439e7385f changed the serial device to check open_flag instead of flag. So we should change the rt_kprintf counterpart as well.