summaryrefslogtreecommitdiffstats
path: root/libcxx/src/string.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/src/string.cpp')
-rw-r--r--libcxx/src/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/string.cpp b/libcxx/src/string.cpp
index febc5320997..d3f29df639f 100644
--- a/libcxx/src/string.cpp
+++ b/libcxx/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