aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-12-08 15:38:29 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-12-08 15:38:29 +0000
commitf38c3e778a7c778da2e07d813288ac72aab934c9 (patch)
tree8ca9bed56505e99e243738c40bae95310e3c577d /src
parentfaacdab101c782fba2018b9413f2f57bb6bbbf35 (diff)
downloadpostgresql-f38c3e778a7c778da2e07d813288ac72aab934c9.tar.gz
postgresql-f38c3e778a7c778da2e07d813288ac72aab934c9.zip
Fix thinko in comment.
Diffstat (limited to 'src')
-rw-r--r--src/backend/storage/file/fd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/file/fd.c b/src/backend/storage/file/fd.c
index f54e164f5f9..b7f1c3f5a25 100644
--- a/src/backend/storage/file/fd.c
+++ b/src/backend/storage/file/fd.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.123 2005/12/01 20:24:18 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/storage/file/fd.c,v 1.124 2005/12/08 15:38:29 tgl Exp $
*
* NOTES:
*
@@ -1405,7 +1405,7 @@ TryAgain:
* dir = AllocateDir(path);
* while ((dirent = ReadDir(dir, path)) != NULL)
* process dirent;
- * FreeDir(path);
+ * FreeDir(dir);
*
* since a NULL dir parameter is taken as indicating AllocateDir failed.
* (Make sure errno hasn't been changed since AllocateDir if you use this