Merge "Fixed Klocworks issues" into devel_3.0_main
[platform/framework/native/appfw.git] / src / io / FIo_SecureFile.cpp
index 76bbfed..4ea78ed 100644 (file)
@@ -98,7 +98,7 @@ _SecureFile::Construct(const String& filePath, const char* pOpenMode, const Byte
        {
                r = pNormalFile->Construct(filePath, pOpenMode);
        }
-       SysTryReturn(NID_IO, !IsFailed(r), r, r, "[%s] Failed to open file (%ls) in openmode (%s).",
+       SysSecureTryReturn(NID_IO, !IsFailed(r), r, r, "[%s] Failed to open file (%ls) in openmode (%s).",
                                 GetErrorMessage(r), filePath.GetPointer(), pOpenMode);
 
        if (_append)