[PATCH rtems-tools] fix _mkdir parameter error.
Chris Johns
chrisj at rtems.org
Sun Nov 27 23:18:44 UTC 2022
Pushed. Thanks
Chris
On 27/11/2022 8:20 pm, zhengxiaojun wrote:
> 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
More information about the devel
mailing list