Commit d7fb4931 authored by Peter Eisentraut's avatar Peter Eisentraut

Fix use of unportable %m format

parent 60a81ad1
......@@ -287,7 +287,7 @@ pg_scandir_internal(const char *dirname,
size_t entrysize;
if ((dirdesc = opendir(dirname)) == NULL)
pg_log(PG_FATAL, "could not open directory \"%s\": %m\n", dirname);
pg_log(PG_FATAL, "could not open directory \"%s\": %s\n", dirname, getErrorText(errno));
*namelist = NULL;
......
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