projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d497093
)
Fix incorrect copy-pasto in error message of pg_waldump.c
author
Michael Paquier
<michael@paquier.xyz>
Tue, 27 Dec 2022 03:16:24 +0000
(12:16 +0900)
committer
Michael Paquier
<michael@paquier.xyz>
Tue, 27 Dec 2022 03:16:24 +0000
(12:16 +0900)
The error message used on fclose() failure was incorrect, so fix it.
Oversight in
d497093
, that I have somehow managed to miss.
src/bin/pg_waldump/pg_waldump.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_waldump/pg_waldump.c
b/src/bin/pg_waldump/pg_waldump.c
index 15cc500672dd074e60853921b4bb8bb586e9e4f4..e97c47f307119fb25836d40351069949ff830bdc 100644
(file)
--- a/
src/bin/pg_waldump/pg_waldump.c
+++ b/
src/bin/pg_waldump/pg_waldump.c
@@
-529,7
+529,7
@@
XLogRecordSaveFPWs(XLogReaderState *record, const char *savepath)
pg_fatal("could not write file \"%s\": %m", filename);
if (fclose(file) != 0)
- pg_fatal("could not
writ
e file \"%s\": %m", filename);
+ pg_fatal("could not
clos
e file \"%s\": %m", filename);
}
}