summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchanywa <cbible.kim@samsung.com>2016-03-08 02:08:56 -0800
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>2016-03-08 02:08:56 -0800
commit740bbe9277748e0baf401152e83b02c37716b534 (patch)
tree479dbbb75bb6e86e29cee9f0d3854be54d493d8a
parent6ff5bb35de2edad0ce4012130117b1ef736ba98f (diff)
parent43f8b3d6055938113b5ac3b0644fcd0c72a9397b (diff)
downloadmaps-plugin-here-740bbe9277748e0baf401152e83b02c37716b534.tar.gz
maps-plugin-here-740bbe9277748e0baf401152e83b02c37716b534.tar.bz2
maps-plugin-here-740bbe9277748e0baf401152e83b02c37716b534.zip
Merge "Fixed svace defects" into tizen
-rw-r--r--src/here_manager.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/here_manager.cpp b/src/here_manager.cpp
index b8609f7..984d8ae 100644
--- a/src/here_manager.cpp
+++ b/src/here_manager.cpp
@@ -536,7 +536,9 @@ bool HereManager::GetAgreement(void)
MAPS_LOGD("UC was set No");
file.close();
} else {
- MAPS_LOGD("UC file open fail. %s (%d)", strerror(errno), errno);
+ char buff[256];
+ strerror_r(errno, buff, sizeof(buff));
+ MAPS_LOGD("UC file open fail. %s (%d)", buff, errno);
}
return isAgree;