diff options
author | Jeff Dike <jdike@addtoit.com> | 2007-03-01 05:13:11 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-01 23:53:38 +0100 |
commit | 04a51e66adcdc0de6ffaa488934ce3ffb3818ecf (patch) | |
tree | 42a3ae0606087ac3e01e37e4b2e56a65bdb5e542 /arch/um/os-Linux/sigio.c | |
parent | [PATCH] uml: fix host LDT lookup initialization locking, try 2 (diff) | |
download | linux-04a51e66adcdc0de6ffaa488934ce3ffb3818ecf.tar.xz linux-04a51e66adcdc0de6ffaa488934ce3ffb3818ecf.zip |
[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 <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/os-Linux/sigio.c')
-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) 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, |