From: Piotr Kosko
Date: Fri, 12 May 2017 07:09:58 +0000 (+0200)
Subject: [Filesystem] SVACE issue fix
X-Git-Tag: submit/tizen_3.0/20170512.112122^2
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e08574531a0ba5dac7bbaad8e2c630614ba2d4d8;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git
[Filesystem] SVACE issue fix
Change-Id: I3f8d221154225a45462e8e1e931031f4ef0bb772
Signed-off-by: Piotr Kosko
---
diff --git a/src/filesystem/filesystem_manager.cc b/src/filesystem/filesystem_manager.cc
index 6039be14..43f7462d 100644
--- a/src/filesystem/filesystem_manager.cc
+++ b/src/filesystem/filesystem_manager.cc
@@ -498,7 +498,7 @@ void FilesystemManager::GetCanonicalPath(const std::string& path,
int tmpErrno;
if (!canonicalPath) {
tmpErrno = errno;
- LoggerE("Cannot get realpath of %s. Error: %s!", path.c_str(), strerror(tmpErrno));
+ LoggerE("Cannot get realpath of %s. Error: %s!", path.c_str(), GetErrorString(tmpErrno).c_str());
error_cb(FilesystemError::Other);
}