loader: Remove the handle field from LoaderOpen

This was always 0 from all the callers.

Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Adam Jackson
2010-09-17 09:02:13 -04:00
parent 09929da505
commit 2f003fe496
3 changed files with 17 additions and 19 deletions

View File

@@ -926,7 +926,7 @@ doLoadModule(const char *module, const char *path, const char **subdirlist,
*errmin = 0;
goto LoadModule_fail;
}
ret->handle = LoaderOpen(found, 0, errmaj, errmin, &wasLoaded, flags);
ret->handle = LoaderOpen(found, errmaj, errmin, &wasLoaded, flags);
if (ret->handle < 0)
goto LoadModule_fail;