From b7a82317b66362880c16f1bd49573ab34f0dad1f Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Sun, 28 Jul 2019 16:21:53 +0900 Subject: [PATCH] Fix typo in fd.c The frontend version of walkdir() is defined in file_utils.c, and not initdb.c. Author: Sehrope Sarkuni Discussion: https://postgr.es/m/CAH7T-artawnBt4=KODNCD8Mt2ZX4CCjJT8c=_=950xjutcRZ4Q@mail.gmail.com --- src/backend/storage/file/fd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c index 315c74c745..60f39031fb 100644 --- a/src/backend/storage/file/fd.c +++ b/src/backend/storage/file/fd.c @@ -3208,7 +3208,8 @@ SyncDataDirectory(void) * * Errors are reported at level elevel, which might be ERROR or less. * - * See also walkdir in initdb.c, which is a frontend version of this logic. + * See also walkdir in file_utils.c, which is a frontend version of this + * logic. */ static void walkdir(const char *path,