aboutsummaryrefslogtreecommitdiff
path: root/build2/test/script/runner.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/test/script/runner.cxx')
-rw-r--r--build2/test/script/runner.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/test/script/runner.cxx b/build2/test/script/runner.cxx
index 464c1f9..3c5f8ba 100644
--- a/build2/test/script/runner.cxx
+++ b/build2/test/script/runner.cxx
@@ -1171,7 +1171,7 @@ namespace build2
if (ifd.get () == -1) // @@ TMP
throw io_error (
- error_code (errno, system_category ()).message ());
+ error_code (errno, generic_category ()).message ());
}
catch (const io_error& e)
{
@@ -1296,7 +1296,7 @@ namespace build2
if (fd.get () == -1) // @@ TMP
throw io_error (
- error_code (errno, system_category ()).message ());
+ error_code (errno, generic_category ()).message ());
}
catch (const io_error& e)
{