From 596a63dc6b907f36756971a80b51957094251d0a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 20 Sep 2018 17:39:09 +0300 Subject: Use throw_system_error() on select() error --- msvc-common/msvc-filter.cxx | 4 ++-- 1 file 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 #include // path::traits::realize() -#include // alpha(), throw_generic_error() +#include // alpha(), throw_*_error() #include #include #include @@ -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. -- cgit v1.1