summaryrefslogtreecommitdiffstats
path: root/fs/proc/proc_tty.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/proc_tty.c')
-rw-r--r--fs/proc/proc_tty.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/proc/proc_tty.c b/fs/proc/proc_tty.c
index 470b7bffb..9523ff9f0 100644
--- a/fs/proc/proc_tty.c
+++ b/fs/proc/proc_tty.c
@@ -49,8 +49,10 @@ static int tty_drivers_read_proc(char *page, char **start, off_t off,
case TTY_DRIVER_TYPE_SYSTEM:
if (p->subtype == SYSTEM_TYPE_TTY)
type = "system:/dev/tty";
- else if (p->subtype == SYSTEM_TYPE_CONSOLE)
+ else if (p->subtype == SYSTEM_TYPE_SYSCONS)
type = "system:console";
+ else if (p->subtype == SYSTEM_TYPE_CONSOLE)
+ type = "system:vtmaster";
else
type = "system";
break;