diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-03-22 00:44:52 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-03-22 00:44:52 +0300 |
commit | adddeca028100355a922cc4e45226ce7f18420c9 (patch) | |
tree | e056441415e76531c7b1137264b9238ac8056c05 /build2/b.cxx | |
parent | 330820504e2f231b9e0255142147e2b7939bce0b (diff) |
Make use of throw_generic_error()
Diffstat (limited to 'build2/b.cxx')
-rw-r--r-- | build2/b.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/b.cxx b/build2/b.cxx index 60ac2f0..89c3d9c 100644 --- a/build2/b.cxx +++ b/build2/b.cxx @@ -104,7 +104,7 @@ main (int argc, char* argv[]) #ifndef _WIN32 if (signal (SIGPIPE, SIG_IGN) == SIG_ERR) fail << "unable to ignore broken pipe (SIGPIPE) signal: " - << system_error (errno, system_category ()); // Sanitize. + << system_error (errno, generic_category ()); // Sanitize. #endif // Parse the command line. We want to be able to specify options, vars, |