std::string filePath = undoDir + "/tizen_" + name + MODES_UNDO_FILE_SUFFIX;
if (0 != remove(filePath.c_str()))
- ERR("remove(%s) Fail(%s)", filePath.c_str(), strerror(errno));
+ ERR("remove(%s) Fail(%d)", filePath.c_str(), errno);
for (auto it = essentialMap.begin(); it != essentialMap.end(); ) {
if (it->second == name)
DIR *dir;
if ((dir = opendir(dirPath.c_str())) == NULL) {
- ERR("opendir(%s) Fail(%s)", dirPath.c_str(), strerror(errno));
+ ERR("opendir(%s) Fail(%d)", dirPath.c_str(), errno);
return false;
}
DIR *dir;
if ((dir = opendir(dirPath.c_str())) == NULL) {
- ERR("opendir(%s) Fail(%s)", dirPath.c_str(), strerror(errno));
+ ERR("opendir(%s) Fail(%d)", dirPath.c_str(), errno);
return false;
}
} catch (std::exception &e) {
ERR("parser(%s) Fail(%s)", fileFullPath.c_str(), e.what());
if (0 != remove(fileFullPath.c_str()))
- ERR("remove(%s) Fail(%s)", fileFullPath.c_str(), strerror(errno));
+ ERR("remove(%s) Fail(%d)", fileFullPath.c_str(), errno);
}
}
{
DIR *dir;
if ((dir = opendir(pluginDir.c_str())) == NULL) {
- ERR("opendir(%s) Fail(%s)", pluginDir.c_str(), strerror(errno));
+ ERR("opendir(%s) Fail(%d)", pluginDir.c_str(), errno);
throw ModesEx(ModesEx::SYSTEM_ERROR);
}
DIR *dir;
if ((dir = opendir(ruleDir.c_str())) == NULL)
- ERR("opendir(%s) Fail(%s)", ruleDir.c_str(), strerror(errno));
+ ERR("opendir(%s) Fail(%d)", ruleDir.c_str(), errno);
struct dirent *entry;
while ((entry = readdir(dir)) != NULL) {