[Filesystem] SVACE issue fix 68/128968/1
authorPiotr Kosko <p.kosko@samsung.com>
Fri, 12 May 2017 07:09:58 +0000 (09:09 +0200)
committerPiotr Kosko <p.kosko@samsung.com>
Fri, 12 May 2017 07:09:58 +0000 (09:09 +0200)
Change-Id: I3f8d221154225a45462e8e1e931031f4ef0bb772
Signed-off-by: Piotr Kosko <p.kosko@samsung.com>
src/filesystem/filesystem_manager.cc

index 6039be147fbc8873b5a724ecc0ca5568cce938f1..43f7462daaf22fe8d43d83d513d31c798f1ee379 100644 (file)
@@ -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);
   }