diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2019-01-22 19:20:24 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2019-01-22 19:20:24 +0000 |
| commit | 9c710df9281cb5cffa849396f28c8fe1fc9f1be5 (patch) | |
| tree | 3451054a07a2086459ee553883b5773d5b5f860f /contrib/compiler-rt/lib/scudo/scudo_malloc.cpp | |
| parent | 58a7b5d64a70fcdddb5dc4c92e53d9d3abcb5ae6 (diff) | |
| parent | 0646903fc1f75f6e605754621119473ee083f4a4 (diff) | |
Notes
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" |
