summaryrefslogtreecommitdiff
path: root/src/libstddjb/iopause_select.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/iopause_select.c')
-rw-r--r--src/libstddjb/iopause_select.c2
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 ;
}
}