diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2011-07-07 21:21:57 +0300 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2011-07-07 21:48:15 +0300 |
| commit | f1d869276f7c256ade9d5dd6a4d8143821cdac1c (patch) | |
| tree | bb3f9920c875d4a17926c4606653a344f414d280 /contrib | |
| parent | 245b5f1794eff632f9dd1252f29f65aad02e871d (diff) | |
Fix use of unportable %m format
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/pg_upgrade/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pg_upgrade/file.c b/contrib/pg_upgrade/file.c index 07a7eb8d144..29e3c06a9e0 100644 --- a/contrib/pg_upgrade/file.c +++ b/contrib/pg_upgrade/file.c @@ -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; |
