mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
Fix use of unportable %m format
This commit is contained in:
parent
245b5f1794
commit
f1d869276f
@ -287,7 +287,7 @@ pg_scandir_internal(migratorContext *ctx, const char *dirname,
|
||||
size_t entrysize;
|
||||
|
||||
if ((dirdesc = opendir(dirname)) == NULL)
|
||||
pg_log(ctx, PG_FATAL, "Could not open directory \"%s\": %m\n", dirname);
|
||||
pg_log(ctx, PG_FATAL, "Could not open directory \"%s\": %s\n", dirname, getErrorText(errno));
|
||||
|
||||
*namelist = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user