projects
/
users
/
kgrittn
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60a81ad
)
Fix use of unportable %m format
author
Peter Eisentraut
<peter_e@gmx.net>
Thu, 7 Jul 2011 18:21:57 +0000
(21:21 +0300)
committer
Peter Eisentraut
<peter_e@gmx.net>
Thu, 7 Jul 2011 19:48:59 +0000
(22:48 +0300)
contrib/pg_upgrade/file.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/pg_upgrade/file.c
b/contrib/pg_upgrade/file.c
index a7e40090e2f3fef5cb51187f163d0eb9a727abcc..02c81a7fc4e4016e1a822f3a9512a679079a7948 100644
(file)
--- 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;