Commit 81ff5161 authored by Bruce Momjian's avatar Bruce Momjian

small error message improvement from Dmitry Samersoff

parent 1afe0b31
...@@ -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
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment