summaryrefslogtreecommitdiff
path: root/include/__debug
diff options
context:
space:
mode:
Diffstat (limited to 'include/__debug')
-rw-r--r--include/__debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/__debug b/include/__debug
index c1512246bfcf2..a21f9a89884be 100644
--- a/include/__debug
+++ b/include/__debug
@@ -22,7 +22,7 @@
# include <cstdio>
# include <cstddef>
# ifndef _LIBCPP_ASSERT
-# define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : (_VSTD::printf("%s\n", m), _VSTD::abort()))
+# define _LIBCPP_ASSERT(x, m) ((x) ? (void)0 : (_VSTD::fprintf(stderr, "%s\n", m), _VSTD::abort()))
# endif
#endif