summaryrefslogtreecommitdiffstats
path: root/contrib/libc++/src/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libc++/src/string.cpp')
-rw-r--r--contrib/libc++/src/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libc++/src/string.cpp b/contrib/libc++/src/string.cpp
index febc532..d3f29df 100644
--- a/contrib/libc++/src/string.cpp
+++ b/contrib/libc++/src/string.cpp
@@ -39,7 +39,7 @@ void throw_helper( const string& msg )
#ifndef _LIBCPP_NO_EXCEPTIONS
throw T( msg );
#else
- printf("%s\n", msg.c_str());
+ fprintf(stderr, "%s\n", msg.c_str());
abort();
#endif
}
OpenPOWER on IntegriCloud