projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
skge: turn carrier off when down
[powerpc.git]
/
fs
/
proc
/
array.c
diff --git
a/fs/proc/array.c
b/fs/proc/array.c
index
70e4fab
..
07c9cdb
100644
(file)
--- a/
fs/proc/array.c
+++ b/
fs/proc/array.c
@@
-351,7
+351,7
@@
static int do_task_stat(struct task_struct *task, char * buffer, int whole)
struct signal_struct *sig = task->signal;
if (sig->tty) {
- tty_pgrp =
sig->tty->pgrp
;
+ tty_pgrp =
pid_nr(sig->tty->pgrp)
;
tty_nr = new_encode_dev(tty_devnum(sig->tty));
}