[PATCH v3 2/2] Update file console.c