1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-30 21:42:05 +03:00

Sync dlopen error handling for the *BSDs ... seems to me I've done this

before, but they were out of sync again.  Per Kris Jurka.
This commit is contained in:
Tom Lane
2005-07-06 16:55:58 +00:00
parent 6e2ff6e89a
commit b9cb132648
3 changed files with 6 additions and 5 deletions

View File

@ -68,7 +68,7 @@ BSD44_derived_dlopen(const char *file, int num)
if ((vp = dlopen((char *) file, num)) == NULL)
snprintf(error_message, sizeof(error_message),
"dlopen (%s) failed", file);
"dlopen (%s) failed: %s", file, dlerror());
return vp;
#endif
}