[PATCH v4 2/3] Update file console.c