diff options
author | Peter Eisentraut | 2011-07-07 18:21:57 +0000 |
---|---|---|
committer | Peter Eisentraut | 2011-07-07 19:53:51 +0000 |
commit | 469345e1e3ae32c8c3c694f9a47cc6edccc5a274 (patch) | |
tree | 69d56e1138ccecde2ac3b130892edc62fd6c24e4 | |
parent | db43ec43cc4ea68a45ee3364488285edbd790893 (diff) |
Fix use of unportable %m format
-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; |