diff --git a/src/socket_base.cpp b/src/socket_base.cpp
index 0f68a7aa..d25cec35 100644
--- a/src/socket_base.cpp
+++ b/src/socket_base.cpp
@@ -547,7 +547,7 @@ int zmq::socket_base_t::term_endpoint (const char *addr_)
         return -1;
     }
 
-    //  Check whether message passed to the function is valid.
+    //  Check whether endpoint address passed to the function is valid.
     if (unlikely (!addr_)) {
         errno = EINVAL;
         return -1;