diff options
| author | Alexander Viro <viro@parcelfarce.linux.theplanet.co.uk> | 2003-09-23 09:07:14 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-09-23 09:07:14 -0700 |
| commit | 9d5fab503964c1fb814edf1f732c5ef5a9d9ac66 (patch) | |
| tree | 3134593ca21dc9f9a7f98961a60353c3e4845c1a /fs/proc/array.c | |
| parent | 117991c572d368cb34947e583e5eaab29a8e52db (diff) | |
[PATCH] 32-bit dev_t fixups
Argh. A couple of places where we needed ..._encode_dev() had
been lost in reordering the patchset - the most notable being ctty number in
/proc/<pid>/stat. Fix follows:
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 f38e5d249fab..1eba76a6f603 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -306,7 +306,7 @@ int proc_pid_stat(struct task_struct *task, char * buffer) mm = mmgrab(mm); if (task->tty) { tty_pgrp = task->tty->pgrp; - tty_nr = tty_devnum(task->tty); + tty_nr = new_encode_dev(tty_devnum(task->tty)); } task_unlock(task); if (mm) { |
