diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index 90448a3ed692fca683577b3401b440b643f9ae02..61c65213171d8a904bf4e4398f659098fcb80349 100644
--- a/src/backend/replication/slot.c
+++ b/src/backend/replication/slot.c
@@ -1308,7 +1308,7 @@ RestoreSlotFromDisk(const char *name)
 				(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),
 				 errmsg("logical replication slot \"%s\" exists, but wal_level < logical",
 						NameStr(cp.slotdata.name)),
-				 errhint("Change wal_level to be replica or higher.")));
+				 errhint("Change wal_level to be logical or higher.")));
 	else if (wal_level < WAL_LEVEL_REPLICA)
 		ereport(FATAL,
 				(errcode(ERRCODE_OBJECT_NOT_IN_PREREQUISITE_STATE),