Refactor AppRegistry to support multi-thread concurrency
[platform/framework/native/appfw.git] / src / io / FIo_SecureFile.cpp
index 8b3020b..4ea78ed 100644 (file)
@@ -1,5 +1,4 @@
 //
-// Open Service Platform
 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
 //
 // Licensed under the Apache License, Version 2.0 (the License);
@@ -99,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)