sanitizer_common: fix format string in LibIgnore

uptr should be printed with %zu.

Differential Revision: https://reviews.llvm.org/D108106
This commit is contained in:
Dmitry Vyukov 2021-08-16 09:43:26 +02:00
parent 2848f6966e
commit 7185007735
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ LibIgnore::LibIgnore(LinkerInitialized) {
void LibIgnore::AddIgnoredLibrary(const char *name_templ) {
Lock lock(&mutex_);
if (count_ >= kMaxLibs) {
Report("%s: too many ignored libraries (max: %lu)\n", SanitizerToolName,
Report("%s: too many ignored libraries (max: %zu)\n", SanitizerToolName,
kMaxLibs);
Die();
}