mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
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;
|
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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user