summaryrefslogtreecommitdiff
path: root/fs/proc/array.c
diff options
context:
space:
mode:
authorAlexander Viro <viro@parcelfarce.linux.theplanet.co.uk>2003-09-23 09:07:14 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-09-23 09:07:14 -0700
commit9d5fab503964c1fb814edf1f732c5ef5a9d9ac66 (patch)
tree3134593ca21dc9f9a7f98961a60353c3e4845c1a /fs/proc/array.c
parent117991c572d368cb34947e583e5eaab29a8e52db (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.c2
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) {