diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-03-06 20:09:12 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-03-06 20:09:12 +0000 |
commit | 11b92ac20ce73a7f6b4ea8dfcbaf6fb9cd056059 (patch) | |
tree | 5da3d6888cc008f50580a08284a73af3fb471761 /src/libstddjb/iopause_select.c | |
parent | 7bfdb8092915753c42f9f06a56fbbc46b11e593e (diff) | |
download | skalibs-11b92ac20ce73a7f6b4ea8dfcbaf6fb9cd056059.tar.xz |
Bugfix: iopause must check for EOVERFLOW, not ERANGE
Diffstat (limited to 'src/libstddjb/iopause_select.c')
-rw-r--r-- | src/libstddjb/iopause_select.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/iopause_select.c b/src/libstddjb/iopause_select.c index a9c6529..3f11b22 100644 --- a/src/libstddjb/iopause_select.c +++ b/src/libstddjb/iopause_select.c @@ -23,7 +23,7 @@ int iopause_select (iopause_fd *x, unsigned int len, tain_t const *deadline, tai tain_sub(&delta, deadline, stamp) ; if (!timeval_from_tain_relative(&tv, &delta)) { - if (errno != ERANGE) return -1 ; + if (errno != EOVERFLOW) return -1 ; else deadline = 0 ; } } |