Change file path of domain socket
[platform/framework/native/appfw.git] / src / io / FIo_NormalFile.cpp
index 415649e..d23b5a0 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);
@@ -51,8 +50,6 @@ namespace Tizen { namespace Io
 
 static const int _MAX_LINE_LENGTH = 4096;
 
-#define _MAX_OPENMODE_LENGTH 3
-
 _NormalFile::_NormalFile(void)
        : __pFile(NULL)
 {
@@ -89,7 +86,7 @@ _NormalFile::Construct(const String& filePath, const char* pOpenMode)
        if (pFile == null)
        {
                r = __ConvertNativeErrorToResult(errno);
-               SysLogException(NID_IO, r, "[%s] Failed to open file (%s) in openMode (%s), errno: %d (%s).",
+               SysSecureLogException(NID_IO, r, "[%s] Failed to open file (%s) in openMode (%s), errno: %d (%s).",
                                GetErrorMessage(r), pFilePath.get(), pOpenMode, errno, strerror(errno));
                return r;
        }