dlclose() also set the static error variable.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28579 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-11-09 18:19:46 +00:00
parent df30098d91
commit aa22a3cfda

View File

@ -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);
}