diff --git a/src/backend/storage/lmgr/lock.c b/src/backend/storage/lmgr/lock.c
index 05efafc0b06c534ed1dc8d0c8761ca1e7dfe438b..1787cbccb79546a71bcefb9d575f9d7fa4270719 100644
--- a/src/backend/storage/lmgr/lock.c
+++ b/src/backend/storage/lmgr/lock.c
@@ -3309,7 +3309,7 @@ DumpAllLocks(void)
  *
  * When switching from Hot Standby mode to normal operation, the locks will
  * be already held by the startup process. The locks are acquired for the new
- * procs without checking for conflicts, so we don'get a conflict between the
+ * procs without checking for conflicts, so we don't get a conflict between the
  * startup process and the dummy procs, even though we will momentarily have
  * a situation where two procs are holding the same AccessExclusiveLock,
  * which isn't normally possible because the conflict. If we're in standby