diff options
Diffstat (limited to 'compiler-rt')
| -rw-r--r-- | compiler-rt/lib/hwasan/hwasan_interceptors.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/hwasan/hwasan_interceptors.cc b/compiler-rt/lib/hwasan/hwasan_interceptors.cc index db66c1b569c..2c77879d50d 100644 --- a/compiler-rt/lib/hwasan/hwasan_interceptors.cc +++ b/compiler-rt/lib/hwasan/hwasan_interceptors.cc @@ -275,7 +275,7 @@ static void *mmap_interceptor(Mmap real_mmap, void *addr, SIZE_T sz, int prot, addr = nullptr; } } - return real_mmap(addr, length, prot, flags, fd, offset); + return real_mmap(addr, sz, prot, flags, fd, off); } extern "C" int pthread_attr_init(void *attr); |

