Skip to content

Commit

Permalink
[PATCH] uml: add back accidentally removed error
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
cfd-36 authored and Linus Torvalds committed Mar 1, 2007
1 parent af72790 commit 04a51e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/um/os-Linux/sigio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 04a51e6

Please sign in to comment.