We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60a81ad commit d7fb493Copy full SHA for d7fb493
contrib/pg_upgrade/file.c
@@ -287,7 +287,7 @@ pg_scandir_internal(const char *dirname,
287
size_t entrysize;
288
289
if ((dirdesc = opendir(dirname)) == NULL)
290
- 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));
291
292
*namelist = NULL;
293
0 commit comments