aboutsummaryrefslogtreecommitdiff
path: root/load/load.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-03-22 00:51:42 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-03-22 00:51:42 +0300
commitacc7081113e66474c121e6272b9efb6ba24fb2b1 (patch)
treea2ab7c7da17e3e1811607cf74038c34abf8ca32a /load/load.cxx
parentbed7ade3fa57ef3a7d4e8bd99c35aecb1f414bed (diff)
Fix creating system_error to use generic_category for errno codes
Diffstat (limited to 'load/load.cxx')
-rw-r--r--load/load.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/load/load.cxx b/load/load.cxx
index b9102d0..926f173 100644
--- a/load/load.cxx
+++ b/load/load.cxx
@@ -958,7 +958,7 @@ try
if (signal (SIGPIPE, SIG_IGN) == SIG_ERR)
{
cerr << "error: unable to ignore broken pipe (SIGPIPE) signal: "
- << system_error (errno, system_category ()) << endl; // Sanitize.
+ << system_error (errno, generic_category ()) << endl; // Sanitize.
return 1;
}