summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libcxx/test/support/platform_support.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/test/support/platform_support.h b/libcxx/test/support/platform_support.h
index 4633ce047f0..3ef9e329de1 100644
--- a/libcxx/test/support/platform_support.h
+++ b/libcxx/test/support/platform_support.h
@@ -54,7 +54,7 @@ get_temp_file_name()
std::string s(p);
free( p );
#else
- std::string s("temp.XXXX");
+ std::string s("temp.XXXXXX");
mktemp(&s[0]);
#endif
return s;
OpenPOWER on IntegriCloud