|
|
|
@@ -250,8 +250,8 @@ Status CsaInteract::MakePath(const std::string &file_name) { |
|
|
|
std::string pre_path = file_path.substr(0, found + 1); |
|
|
|
if (mmAccess(pre_path.c_str()) != EN_OK) { |
|
|
|
if (mmMkdir(pre_path.c_str(), M_IRWXU) != EN_OK) { |
|
|
|
GELOGE(INTERNAL_ERROR, "[Create][File Dir] fail, errno is %d, pri_path:%s", errno, pri_path.c_str()); |
|
|
|
REPORT_CALL_ERROR("E19999", "mmMkdir failed. errno is %d pri_path:%s", errno, pri_path.c_str()); |
|
|
|
GELOGE(INTERNAL_ERROR, "[Create][File Dir] fail, errno is %d, pre_path:%s", errno, pre_path.c_str()); |
|
|
|
REPORT_CALL_ERROR("E19999", "mmMkdir failed. errno is %d pre_path:%s", errno, pre_path.c_str()); |
|
|
|
return INTERNAL_ERROR; |
|
|
|
} |
|
|
|
} |
|
|
|
|