summaryrefslogtreecommitdiffstats
path: root/drivers/char/pcxx.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/pcxx.c')
-rw-r--r--drivers/char/pcxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/pcxx.c b/drivers/char/pcxx.c
index 9a68bb472..eecdaee5a 100644
--- a/drivers/char/pcxx.c
+++ b/drivers/char/pcxx.c
@@ -368,7 +368,7 @@ static int pcxx_waitcarrier(struct tty_struct *tty,struct file *filp,struct chan
(info->asyncflags & ASYNC_CLOSING) == 0 &&
(do_clocal || (info->imodem & info->dcd)))
break;
- if(current->signal & ~current->blocked) {
+ if(signal_pending(current)) {
retval = -ERESTARTSYS;
break;
}