tsan: fix parameter type for pwrite64() interceptor

llvm-svn: 161741
This commit is contained in:
Dmitry Vyukov 2012-08-12 11:08:30 +00:00
parent 1dcfe449ef
commit 2bee426ed6
1 changed files with 1 additions and 1 deletions

View File

@ -1157,7 +1157,7 @@ TSAN_INTERCEPTOR(long_t, pwrite, int fd, void *buf, long_t sz, unsigned off) {
return res;
}
TSAN_INTERCEPTOR(long_t, pwrite64, int fd, void *buf, long_t sz, unsigned off) {
TSAN_INTERCEPTOR(long_t, pwrite64, int fd, void *buf, long_t sz, u64 off) {
SCOPED_TSAN_INTERCEPTOR(pwrite64, fd, buf, sz, off);
Release(cur_thread(), pc, fd2addr(fd));
int res = REAL(pwrite64)(fd, buf, sz, off);