tsan: fix Printf format string

Reported on D107745

Reported-by: Wolfgang Pieb (wolfgangp)

Reviewed By: melver

Differential Revision: https://reviews.llvm.org/D107881
This commit is contained in:
Dmitry Vyukov 2021-08-11 08:28:01 +02:00
parent f6425dfcbe
commit 8af4725576
1 changed files with 1 additions and 1 deletions

View File

@ -923,7 +923,7 @@ struct RestoreAddrImpl {
return addr | (p & ~(ind_lsb - 1));
}
}
Printf("ThreadSanitizer: failed to restore address %p\n", addr);
Printf("ThreadSanitizer: failed to restore address 0x%zx\n", addr);
Die();
}
};