forked from OSchip/llvm-project
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:
parent
2848f6966e
commit
7185007735
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue