diff --git a/src/bin/pg_upgrade/file.c b/src/bin/pg_upgrade/file.c
index b132e58195a16247408cfbbd6484fdd8615face3..b33f0b46e346fdde514ddda9509a1255182f3655 100644
--- a/src/bin/pg_upgrade/file.c
+++ b/src/bin/pg_upgrade/file.c
@@ -273,7 +273,7 @@ rewriteVisibilityMap(const char *fromfile, const char *tofile)
 				new_cur += BITS_PER_HEAPBLOCK;
 			}
 
-			/* If the last part of the old page is empty, skip to write it */
+			/* If the last part of the old page is empty, skip writing it */
 			if (old_lastpart && empty)
 				break;