aboutsummaryrefslogtreecommitdiff
path: root/build2/b.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/b.cxx')
-rw-r--r--build2/b.cxx2
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,