aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-09-20 17:39:09 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-09-20 17:39:09 +0300
commit596a63dc6b907f36756971a80b51957094251d0a (patch)
treed6c256b196d48c289263b7cd4b0265d5bd131ebd
parent58a3e0835a0ed72d8901eb68b367f6adce721852 (diff)
Use throw_system_error() on select() error
-rw-r--r--msvc-common/msvc-filter.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/msvc-common/msvc-filter.cxx b/msvc-common/msvc-filter.cxx
index b45a90b..1cc69f5 100644
--- a/msvc-common/msvc-filter.cxx
+++ b/msvc-common/msvc-filter.cxx
@@ -16,7 +16,7 @@
#include <unordered_map>
#include <libbutl/path.mxx> // path::traits::realize()
-#include <libbutl/utility.mxx> // alpha(), throw_generic_error()
+#include <libbutl/utility.mxx> // alpha(), throw_*_error()
#include <libbutl/process.mxx>
#include <libbutl/optional.mxx>
#include <libbutl/fdstream.mxx>
@@ -293,7 +293,7 @@ try
if (errno == EINTR)
continue;
- throw_generic_error (errno);
+ throw_system_error (errno);
}
// Timeout occured. Apply wineserver bug workaround if required.