diff --git a/src/common/cryptohash.c b/src/common/cryptohash.c
index ddf35d28b2..a295a5c6d8 100644
--- a/src/common/cryptohash.c
+++ b/src/common/cryptohash.c
@@ -252,7 +252,7 @@ pg_cryptohash_free(pg_cryptohash_ctx *ctx)
 /*
  * pg_cryptohash_error
  *
- * Returns a static string providing errors about an error that
+ * Returns a static string providing details about an error that
  * happened during a computation.
  */
 const char *
diff --git a/src/common/cryptohash_openssl.c b/src/common/cryptohash_openssl.c
index 2e835b066b..6c98f1cf95 100644
--- a/src/common/cryptohash_openssl.c
+++ b/src/common/cryptohash_openssl.c
@@ -308,7 +308,7 @@ pg_cryptohash_free(pg_cryptohash_ctx *ctx)
 /*
  * pg_cryptohash_error
  *
- * Returns a static string providing errors about an error that
+ * Returns a static string providing details about an error that
  * happened during a computation.
  */
 const char *