diff options
Diffstat (limited to 'contrib/compiler-rt/lib/scudo/scudo_malloc.cpp')
| -rw-r--r-- | contrib/compiler-rt/lib/scudo/scudo_malloc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/compiler-rt/lib/scudo/scudo_malloc.cpp b/contrib/compiler-rt/lib/scudo/scudo_malloc.cpp index 91a77b365823..eef776809bd2 100644 --- a/contrib/compiler-rt/lib/scudo/scudo_malloc.cpp +++ b/contrib/compiler-rt/lib/scudo/scudo_malloc.cpp @@ -79,7 +79,7 @@ INTERCEPTOR_ATTRIBUTE size_t malloc_usable_size(void *ptr) { #if SANITIZER_INTERCEPT_MALLOPT_AND_MALLINFO INTERCEPTOR_ATTRIBUTE int mallopt(int cmd, int value) { - return -1; + return 0; } #endif } // extern "C" |
