From adddeca028100355a922cc4e45226ce7f18420c9 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 22 Mar 2017 00:44:52 +0300 Subject: Make use of throw_generic_error() --- build2/b.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/b.cxx') 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, -- cgit v1.1