Minor string formatting fix

Log the path names as widestrings
This commit is contained in:
x1nixmzeng 2015-02-02 22:52:57 +00:00
parent 19ca4796be
commit bcb507d643
1 changed files with 2 additions and 2 deletions

View File

@ -374,7 +374,7 @@ bool DiscoverTests(std::wstring& test_path,
WIN32_FIND_DATA ffd; WIN32_FIND_DATA ffd;
HANDLE hFind = FindFirstFile(search_path.c_str(), &ffd); HANDLE hFind = FindFirstFile(search_path.c_str(), &ffd);
if (hFind == INVALID_HANDLE_VALUE) { if (hFind == INVALID_HANDLE_VALUE) {
PLOGE("Unable to find test path %s", test_path.c_str()); PLOGE("Unable to find test path %ls", test_path.c_str());
return false; return false;
} }
do { do {
@ -392,7 +392,7 @@ bool DiscoverTests(std::wstring& test_path,
#else #else
DIR* d = opendir(test_path.c_str()); DIR* d = opendir(test_path.c_str());
if (!d) { if (!d) {
PLOGE("Unable to find test path %s", test_path.c_str()); PLOGE("Unable to find test path %ls", test_path.c_str());
return false; return false;
} }
struct dirent* dir; struct dirent* dir;