Further error message fix

Further fix of error message changed in commit 74a116a79b4.  The
initial fix was not quite correct.

Discussion: https://www.postgresql.org/message-id/flat/tencent_1EE1430B1E6C18A663B8990F%40qq.com
This commit is contained in:
Peter Eisentraut
2026-02-07 22:37:02 +01:00
parent 3c3b34bbee
commit cff2ef9845

View File

@ -327,7 +327,7 @@ slurpFile(const char *datadir, const char *path, size_t *filesize)
fullpath);
if (fstat(fd, &statbuf) < 0)
pg_fatal("could not stat file \"%s\" for reading: %m",
pg_fatal("could not stat file \"%s\": %m",
fullpath);
len = statbuf.st_size;