small error message improvement from Dmitry Samersoff
This commit is contained in:
parent
1afe0b3146
commit
81ff51615d
@ -68,7 +68,7 @@ BSD44_derived_dlopen(const char *file, int num)
|
||||
void *vp;
|
||||
|
||||
if ((vp = dlopen((char *) file, num)) == (void *) NULL)
|
||||
sprintf(error_message, "dlopen (%s) failed", file);
|
||||
sprintf(error_message, "dlopen '%s' failed. (%s)", file, dlerror() );
|
||||
return vp;
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user