summaryrefslogtreecommitdiff
path: root/fs/proc/array.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/proc/array.c')
-rw-r--r--fs/proc/array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c
index 186864bb7898..643ccd392f23 100644
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -303,7 +303,7 @@ int proc_pid_stat(struct task_struct *task, char * buffer)
atomic_inc(&mm->mm_users);
if (task->tty) {
tty_pgrp = task->tty->pgrp;
- tty_nr = kdev_t_to_nr(task->tty->device);
+ tty_nr = task->tty->device;
}
task_unlock(task);
if (mm) {