Skip to content
Snippets Groups Projects
Commit 81ff5161 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

small error message improvement from Dmitry Samersoff

parent 1afe0b31
Branches
Tags
No related merge requests found
...@@ -68,7 +68,7 @@ BSD44_derived_dlopen(const char *file, int num) ...@@ -68,7 +68,7 @@ BSD44_derived_dlopen(const char *file, int num)
void *vp; void *vp;
if ((vp = dlopen((char *) file, num)) == (void *) NULL) 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; return vp;
#endif #endif
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment