From: Jeff Dike Date: Thu, 1 Mar 2007 04:13:11 +0000 (-0800) Subject: [PATCH] uml: add back accidentally removed error X-Git-Tag: v2.6.21-rc3~169 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=04a51e66adcdc0de6ffaa488934ce3ffb3818ecf;p=linux-2.6-omap-h63xx.git [PATCH] uml: add back accidentally removed error In the 2.6.20 hang patch, I accidentally threw out an error message. This puts it back. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/os-Linux/sigio.c b/arch/um/os-Linux/sigio.c index b2e1fd8e357..3fc43b33db6 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) sigio_lock(); err = need_poll(&all_sigio_fds, all_sigio_fds.used + 1); - if(err) + if(err){ + printk("maybe_sigio_broken - failed to add pollfd for " + "descriptor %d\n", fd); goto out; + } all_sigio_fds.poll[all_sigio_fds.used++] = ((struct pollfd) { .fd = fd,