diff options
Diffstat (limited to 'mysys/stacktrace.c')
-rw-r--r-- | mysys/stacktrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/stacktrace.c b/mysys/stacktrace.c index 5d7fa321ce5..398ade7ad59 100644 --- a/mysys/stacktrace.c +++ b/mysys/stacktrace.c @@ -780,7 +780,7 @@ int my_safe_print_str(const char *val, int len) size_t my_write_stderr(const void *buf, size_t count) { - return (size_t) write(STDERR_FILENO, buf, count); + return (size_t) write(fileno(stderr), buf, count); } |