diff options
Diffstat (limited to 'arch/um/os-Linux')
-rw-r--r-- | arch/um/os-Linux/sigio.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/um/os-Linux/sigio.c b/arch/um/os-Linux/sigio.c index b2e1fd8e3571..3fc43b33db66 100644 --- a/arch/um/os-Linux/sigio.c +++ b/arch/um/os-Linux/sigio.c | |||
@@ -334,8 +334,11 @@ void maybe_sigio_broken(int fd, int read) | |||
334 | 334 | ||
335 | sigio_lock(); | 335 | sigio_lock(); |
336 | err = need_poll(&all_sigio_fds, all_sigio_fds.used + 1); | 336 | err = need_poll(&all_sigio_fds, all_sigio_fds.used + 1); |
337 | if(err) | 337 | if(err){ |
338 | printk("maybe_sigio_broken - failed to add pollfd for " | ||
339 | "descriptor %d\n", fd); | ||
338 | goto out; | 340 | goto out; |
341 | } | ||
339 | 342 | ||
340 | all_sigio_fds.poll[all_sigio_fds.used++] = | 343 | all_sigio_fds.poll[all_sigio_fds.used++] = |
341 | ((struct pollfd) { .fd = fd, | 344 | ((struct pollfd) { .fd = fd, |