mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +08:00
Correct printf formatting for %%
https://github.com/intel/compute-runtime/issues/536 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2285772c7e
commit
20bb97ece3
@@ -63,6 +63,7 @@ void PrintFormatter::printString(const char *formatString, const std::function<v
|
||||
size_t end = i;
|
||||
if (end + 1 <= length && formatString[end + 1] == '%') {
|
||||
output[cursor++] = '%';
|
||||
i++;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user