diff options
author | Eric Wong <e@80x24.org> | 2015-03-09 20:22:23 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-03-09 20:39:10 +0000 |
commit | c659acbb8d7a6b0c8098646981124a47f15cceae (patch) | |
tree | 41667f3f21e4870cbfed41f89944921637779134 /cmogstored.h | |
parent | 1a7f32d0d8a48b9f26f595d0fa9f5db0c657bc3a (diff) | |
download | cmogstored-c659acbb8d7a6b0c8098646981124a47f15cceae.tar.gz |
During the initial device scan, it is possible for the waiter to be interrupted while awaiting cancellation. We must account for this on all platforms regardless of whether pselect or ppoll is used. Reported-by: Mykola Golub <trociny@FreeBSD.org>
Diffstat (limited to 'cmogstored.h')
-rw-r--r-- | cmogstored.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmogstored.h b/cmogstored.h index c6c5291..a7309b5 100644 --- a/cmogstored.h +++ b/cmogstored.h @@ -291,7 +291,7 @@ struct mog_file { extern sigset_t mog_emptyset; void mog_intr_disable(void); void mog_intr_enable(void); -void mog_sleep(long seconds); +int mog_sleep(long seconds); #include "selfwake.h" enum mog_fd_type { |