use RTLD_NOW now that it works.
This commit is contained in:
parent
12bd4dbd45
commit
14e255cf54
|
@ -12,7 +12,7 @@ int main(void)
|
|||
* dlopen() call.
|
||||
*/
|
||||
handle = dlopen("libnonexistent.so", RTLD_LAZY);
|
||||
handle = dlopen("libm.so", RTLD_LAZY);
|
||||
handle = dlopen("libm.so", RTLD_NOW);
|
||||
error = dlerror();
|
||||
if (error == NULL)
|
||||
errx(1, "Failed: dlerror() was cleared by successful dlopen()\n");
|
||||
|
|
Loading…
Reference in New Issue