Fix typo in fd.c
authorMichael Paquier <michael@paquier.xyz>
Sun, 28 Jul 2019 07:21:53 +0000 (16:21 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sun, 28 Jul 2019 07:21:53 +0000 (16:21 +0900)
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

index 315c74c745688868ae3623b2d728954b63d419b4..60f39031fb5558670ae52b0c3e44cc62f2add3be 100644 (file)
@@ -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,