projects
/
postgresql
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
245b5f1
)
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 18:48:15 +0000
(21:48 +0300)
contrib/pg_upgrade/file.c
patch
|
blob
|
history
diff --git
a/contrib/pg_upgrade/file.c
b/contrib/pg_upgrade/file.c
index 07a7eb8d1441ba03a88455702c4ad0c93a3941ea..29e3c06a9e090d170b9dff4e71c245e21d9eee78 100644
(file)
--- 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;