Skip to content

Commit 2259c66

Browse files
committed
Fix incorrect copy-pasto in error message of pg_waldump.c
The error message used on fclose() failure was incorrect, so fix it. Oversight in d497093, that I have somehow managed to miss.
1 parent d497093 commit 2259c66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_waldump/pg_waldump.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ XLogRecordSaveFPWs(XLogReaderState *record, const char *savepath)
529529
pg_fatal("could not write file \"%s\": %m", filename);
530530

531531
if (fclose(file) != 0)
532-
pg_fatal("could not write file \"%s\": %m", filename);
532+
pg_fatal("could not close file \"%s\": %m", filename);
533533
}
534534
}
535535

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy