bluetooth: warn on EAGAIN after POLLOUT

This commit is contained in:
Marc-André Lureau 2009-07-01 13:11:33 +03:00 committed by Lennart Poettering
parent 7dabe051cd
commit e93c6c36fe

View file

@ -1351,6 +1351,9 @@ static void thread_func(void *userdata) {
goto fail; goto fail;
} }
if (n_written == 0)
pa_log("Broken kernel: we got EAGAIN on write() after POLLOUT!");
do_write -= n_written; do_write -= n_written;
writable = FALSE; writable = FALSE;
} }