[PATCH] fix _mkdir parameter error.[RSB]

zhengxiaojun jameszxj at gmail.com
Fri Apr 1 07:05:58 UTC 2022


It is a RSB pacth. 
git send-eamil has no information about it.


------------------ Original ------------------
From:                                                                                                                        "zhengxiaojun"                                                                                    <jameszxj at gmail.com>;
Date: Fri, Apr 1, 2022 11:41 AM
To: "devel"<devel at rtems.org>;
Cc: "zhengxiaojun"<jameszxj at gmail.com>;
Subject: [PATCH] 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