[PATCH rtems-tools] fix _mkdir parameter

zhengxiaojun 17935334 at qq.com
Sun Apr 17 02:57:16 UTC 2022


fix _mkdir parameter error.

Signed-off-by: zhengxiaojun <jameszxj at gmail.com>
---
  tester/covoar/ReportsBase.cc | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tester/covoar/ReportsBase.cc b/tester/covoar/ReportsBase.cc
index 0fb9ce0..eb56c4f 100644
--- a/tester/covoar/ReportsBase.cc
+++ b/tester/covoar/ReportsBase.cc
@@ -65,7 +65,7 @@ void ReportsBase::OpenFile(

    // Create the output directory if it does not already exist
  #ifdef _WIN32
-  sc = _mkdir( symbolSetOutputDirectory );
+  sc = _mkdir( symbolSetOutputDirectory.c_str() );
  #else
    sc = mkdir( symbolSetOutputDirectory.c_str(), 0755 );
  #endif
-- 
2.35.1





More information about the devel mailing list