diff --git a/tools/clang/unittests/HLSLExec/ExecutionTest.cpp b/tools/clang/unittests/HLSLExec/ExecutionTest.cpp index 6db27d7a41..6550e69c66 100644 --- a/tools/clang/unittests/HLSLExec/ExecutionTest.cpp +++ b/tools/clang/unittests/HLSLExec/ExecutionTest.cpp @@ -825,7 +825,7 @@ class ExecutionTest { GetModuleFileNameW(GetModuleHandleW(L"d3d10warp.dll"), szFullModuleFilePath, sizeof(szFullModuleFilePath)); WEX::Logging::Log::Comment(WEX::Common::String().Format( - L"WARP driver loaded from: %S", szFullModuleFilePath)); + L"WARP driver loaded from: %ls", szFullModuleFilePath)); } } else {