aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-08-21 17:43:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-08-21 17:43:43 +0200
commit595dbcaa7fdbc508f2f9c3156ce8fa31333ba6ee (patch)
treed025d350a476d94c3aec27beee1103db3f962154 /mod
parent4c588fe671804cbfe6141af7336b8851678a543d (diff)
Use throw_ios_failure() utility to deal with incompatibilities
Diffstat (limited to 'mod')
-rw-r--r--mod/mod-submit.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/mod-submit.cxx b/mod/mod-submit.cxx
index 9a44a89..75307d9 100644
--- a/mod/mod-submit.cxx
+++ b/mod/mod-submit.cxx
@@ -671,7 +671,7 @@ handle (request& rq, response& rs)
// Don't fail if the select() call was interrupted by the signal.
//
if (errno != EINTR)
- throw io_error ("select failed");
+ throw_system_ios_failure (errno, "select failed");
}
else if (r != 0) // Is data available?
{