set errno in malloc_get_state to match glibc

This commit is contained in:
Daniel Micay 2021-05-12 20:19:12 -04:00
parent a45dacc57b
commit 89faba4232

View File

@ -2018,6 +2018,7 @@ COLD EXPORT void h_malloc_enable(void) {
#ifdef __GLIBC__
COLD EXPORT void *h_malloc_get_state(void) {
errno = ENOSYS;
return NULL;
}