diff --git a/src/system/libroot/posix/dlfcn.c b/src/system/libroot/posix/dlfcn.c index fee50e8dfd..4f6f328d79 100644 --- a/src/system/libroot/posix/dlfcn.c +++ b/src/system/libroot/posix/dlfcn.c @@ -57,7 +57,7 @@ dlsym(void *handle, char const *name) int dlclose(void *handle) { - return __gRuntimeLoader->unload_library(handle); + return sStatus = __gRuntimeLoader->unload_library(handle); }