diff --git a/src/backend/access/heap/heapam_visibility.c b/src/backend/access/heap/heapam_visibility.c
index 537e681b23..2e3764d3c5 100644
--- a/src/backend/access/heap/heapam_visibility.c
+++ b/src/backend/access/heap/heapam_visibility.c
@@ -1392,7 +1392,7 @@ HeapTupleSatisfiesVacuum(HeapTuple htup, TransactionId OldestXmin,
  *	See SNAPSHOT_TOAST's definition for the intended behaviour.
  *
  *	This is an interface to HeapTupleSatisfiesVacuum that's callable via
- *	HeapTupleSatisfiesSnapshot, so it can be used through a Snapshot.
+ *	HeapTupleSatisfiesVisibility, so it can be used through a Snapshot.
  *	snapshot->xmin must have been set up with the xmin horizon to use.
  */
 static bool
