diff options
| author | Alexander Viro <viro@www.linux.org.uk> | 2003-04-23 04:19:46 -0700 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2003-04-23 04:19:46 -0700 |
| commit | 2b4107a8038d2313e7a0eda367f15356581aba08 (patch) | |
| tree | e4904953697cdb5c70983ed914179f0fc83c4460 /fs/proc/array.c | |
| parent | 50dceaae05bc726f98ecbcc1dca8317a8d759af0 (diff) | |
[PATCH] tty cleanups (11/12)
tty->device switched to dev_t
There are very few uses of tty->device left by now; most of
them actually want dev_t (process accounting, proc/<pid>/stat, several
ioctls, slip.c logics, etc.) and the rest will go away shortly.
Diffstat (limited to 'fs/proc/array.c')
| -rw-r--r-- | fs/proc/array.c | 2 |
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) { |
