1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-31 03:21:24 +03:00

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.
This commit is contained in:
Michael Paquier 2022-12-27 12:16:24 +09:00
parent d497093cbe
commit 2259c661dc

View File

@ -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 write file \"%s\": %m", filename);
pg_fatal("could not close file \"%s\": %m", filename);
}
}