poll: do not return 0 on timeout=-1
authorErik Faye-Lund <kusmabite@gmail.com>
Wed, 6 Jul 2011 10:10:51 +0000 (12:10 +0200)
committerEric Blake <eblake@redhat.com>
Wed, 6 Jul 2011 16:27:13 +0000 (10:27 -0600)
commitadc3a5b0083c935f5dcd408983e37c78cb8ebd7c
tree407a448e6c64a91c90a38a40a0820432d06a9185
parent0ba0006f0fe8c8b1e1209a8c36724a9e086242b8
poll: do not return 0 on timeout=-1

* lib/poll.c: Loop with yield if no events occured
ChangeLog
lib/poll.c