projects/linux·commit 04a51e66

[PATCH] uml: add back accidentally removed error

04a51e66 · Jeff Dike <[email protected]> · 2007-02-28 20:13:11 -08:00

In the 2.6.20 hang patch, I accidentally threw out an error message.
This puts it back.

Signed-off-by: Jeff Dike <[email protected]>
Cc: Paolo 'Blaisorblade' Giarrusso <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
04a51e66adcdc0de6ffaa488934ce3ffb3818ecf
Parents
af727902

Changes

1 files changed · +4 −1

FileStatusAddDelContent
arch/um/os-Linux/sigio.cmodified+4−1View file

arch/um/os-Linux/sigio.c

View file
diff --git a/arch/um/os-Linux/sigio.c b/arch/um/os-Linux/sigio.c
index b2e1fd8..3fc43b3 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,