diff options
Diffstat (limited to 'drivers/char/ftape/lowlevel/ftape-init.c')
-rw-r--r-- | drivers/char/ftape/lowlevel/ftape-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/ftape/lowlevel/ftape-init.c b/drivers/char/ftape/lowlevel/ftape-init.c index 7a8d15f5e..28cdd5739 100644 --- a/drivers/char/ftape/lowlevel/ftape-init.c +++ b/drivers/char/ftape/lowlevel/ftape-init.c @@ -94,7 +94,7 @@ KERN_INFO "Compiled for Linux version %s" #ifdef MODULE while (ftape_set_nr_buffers(CONFIG_FT_NR_BUFFERS) < 0) { ftape_sleep(FT_SECOND/20); - if (current->signal & ~current->blocked) { + if (signal_pending(current)) { (void)ftape_set_nr_buffers(0); TRACE(ft_t_bug, "Killed by signal while allocating buffers."); |