summaryrefslogtreecommitdiff
path: root/src/libstddjb/iopause_ppoll.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/iopause_ppoll.c')
-rw-r--r--src/libstddjb/iopause_ppoll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/iopause_ppoll.c b/src/libstddjb/iopause_ppoll.c
index b181d0a..78d157a 100644
--- a/src/libstddjb/iopause_ppoll.c
+++ b/src/libstddjb/iopause_ppoll.c
@@ -20,7 +20,7 @@ int iopause_ppoll (iopause_fd *x, unsigned int len, tain_t const *deadline, tain
tain_sub(&delta, deadline, stamp) ;
if (!timespec_from_tain_relative(&ts, &delta))
{
- if (errno != ERANGE) return -1 ;
+ if (errno != EOVERFLOW) return -1 ;
else deadline = 0 ;
}
}