diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index df467284ff4e4f267c100c687891766e9d2370ea..f24c26d2dba116fbbd833eb29a5acf07facddc42 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c @@ -1533,7 +1533,7 @@ void disassociate_ctty(int on_exit) spin_lock_irq(¤t->sighand->siglock); tty_pgrp = current->signal->tty_old_pgrp; - current->signal->tty_old_pgrp = 0; + current->signal->tty_old_pgrp = NULL; spin_unlock_irq(¤t->sighand->siglock); put_pid(tty_pgrp);