From bcb507d643578b513776448e6a4e2eb41145f47e Mon Sep 17 00:00:00 2001 From: x1nixmzeng Date: Mon, 2 Feb 2015 22:52:57 +0000 Subject: [PATCH] Minor string formatting fix Log the path names as widestrings --- src/alloy/frontend/ppc/test/alloy-ppc-test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/alloy/frontend/ppc/test/alloy-ppc-test.cc b/src/alloy/frontend/ppc/test/alloy-ppc-test.cc index 21a191674..cecfb46b0 100644 --- a/src/alloy/frontend/ppc/test/alloy-ppc-test.cc +++ b/src/alloy/frontend/ppc/test/alloy-ppc-test.cc @@ -374,7 +374,7 @@ bool DiscoverTests(std::wstring& test_path, WIN32_FIND_DATA ffd; HANDLE hFind = FindFirstFile(search_path.c_str(), &ffd); 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; } do { @@ -392,7 +392,7 @@ bool DiscoverTests(std::wstring& test_path, #else DIR* d = opendir(test_path.c_str()); 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; } struct dirent* dir;