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 22:48:59 +0300 |
commit | d7fb49314defee9fdbfcf3847d0855ac6ef4d166 (patch) | |
tree | 1961e6f6d5c486cd1e0d4c27b5a8f0d4b1cc7e0c /contrib/pg_upgrade | |
parent | 60a81ad13374265cf9aecdc72daecd0410936779 (diff) | |
download | postgresql-d7fb49314defee9fdbfcf3847d0855ac6ef4d166.tar.gz |
Fix use of unportable %m format
Diffstat (limited to 'contrib/pg_upgrade')
-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 a7e40090e2..02c81a7fc4 100644 --- a/contrib/pg_upgrade/file.c +++ b/contrib/pg_upgrade/file.c @@ -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; |