diff options
Diffstat (limited to 'drivers/char/tty_io.c')
-rw-r--r-- | drivers/char/tty_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index df467284ff4e..f24c26d2dba1 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c | |||
@@ -1533,7 +1533,7 @@ void disassociate_ctty(int on_exit) | |||
1533 | 1533 | ||
1534 | spin_lock_irq(¤t->sighand->siglock); | 1534 | spin_lock_irq(¤t->sighand->siglock); |
1535 | tty_pgrp = current->signal->tty_old_pgrp; | 1535 | tty_pgrp = current->signal->tty_old_pgrp; |
1536 | current->signal->tty_old_pgrp = 0; | 1536 | current->signal->tty_old_pgrp = NULL; |
1537 | spin_unlock_irq(¤t->sighand->siglock); | 1537 | spin_unlock_irq(¤t->sighand->siglock); |
1538 | put_pid(tty_pgrp); | 1538 | put_pid(tty_pgrp); |
1539 | 1539 | ||