summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2018-04-19 15:17:31 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2018-04-19 15:17:31 +0300
commitbcaab9e4a33d056692c602c84b5f409a75453c37 (patch)
treeeb5079e5adba988c29ba2d61418d6d6f102ee084 /src
parentdfcd8f70da0fa3b3cb08753e2fbeeddbc9ca7654 (diff)
linker: debug print to stderr
Diffstat (limited to 'src')
-rw-r--r--src/linker/linker_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linker/linker_debug.h b/src/linker/linker_debug.h
index 2ab7a40..92749a1 100644
--- a/src/linker/linker_debug.h
+++ b/src/linker/linker_debug.h
@@ -75,7 +75,7 @@ extern int apkenv_format_log(int, const char *, const char *, ...);
#else /* !LINKER_DEBUG_TO_LOG */
#define _PRINTVF(v,f,x...) \
do { \
- if (apkenv_debug_verbosity > (v)) printf(x); \
+ if (apkenv_debug_verbosity > (v)) fprintf(stderr, x); \
} while (0)
#endif /* !LINKER_DEBUG_TO_LOG */
#else /* !LINKER_DEBUG */