diff options
author | Jan Kanis <jan.code@jankanis.nl> | 2013-01-12 19:10:34 +0100 |
---|---|---|
committer | Jan Kanis <jan.code@jankanis.nl> | 2013-01-12 19:13:45 +0100 |
commit | af9d611847e2eae38613280027d6dafc06c72565 (patch) | |
tree | 9b77d1f1cd64d5386a38ced111464f1df28d6915 /postfork.cpp | |
parent | 9d6c4fa6780585d0a9a2a2a6709dbf9c0ac376ff (diff) |
use debug_safe in postfork do_builtin_io. Closes #495
Diffstat (limited to 'postfork.cpp')
-rw-r--r-- | postfork.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postfork.cpp b/postfork.cpp index 87a06a35..9b8913ce 100644 --- a/postfork.cpp +++ b/postfork.cpp @@ -609,7 +609,7 @@ bool do_builtin_io(const char *out, size_t outlen, const char *err, size_t errle if (write_loop(STDOUT_FILENO, out, outlen) < 0) { - debug(0, L"Error while writing to stdout"); + debug_safe(0, "Error while writing to stdout"); safe_perror("write_loop"); success = false; } |