diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index 75d26fa61ea..ce41441c581 100644
--- a/src/backend/replication/slot.c
+++ b/src/backend/replication/slot.c
@@ -635,7 +635,7 @@ retry:
 
 	LWLockAcquire(ReplicationSlotControlLock, LW_SHARED);
 
-	/* Check if the slot exits with the given name. */
+	/* Check if the slot exists with the given name. */
 	s = SearchNamedReplicationSlot(name, false);
 	if (s == NULL || !s->in_use)
 	{
