diff --git a/lib/hostip.c b/lib/hostip.c
index 2a0367795a62767e0728cad844cee8a19f9e78e2..2c7a23ed9360815a49c29cb9799acedbc94548da 100644
--- a/lib/hostip.c
+++ b/lib/hostip.c
@@ -185,9 +185,9 @@ int Curl_num_addresses(const Curl_addrinfo *addr)
 }
 
 /*
- * Curl_printable_address() returns a printable version of the 1st
- * address given in the 2nd argument. The result will be stored in
- * the buf that is bufsize bytes big.
+ * Curl_printable_address() returns a printable version of the 1st address
+ * given in the 'ip' argument. The result will be stored in the buf that is
+ * bufsize bytes big.
  *
  * If the conversion fails, it returns NULL.
  */
diff --git a/lib/hostip.h b/lib/hostip.h
index 82aa4d59c00152608e7f2ffe45833000f60738ff..ecf6f4d48165431c8d7a2fae0fb0c6ff07cd0960 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -136,9 +136,9 @@ void Curl_hostent_relocate(struct hostent *h, long offset);
 Curl_addrinfo *Curl_addrinfo_copy(Curl_addrinfo *orig);
 
 /*
- * Curl_printable_address() returns a printable version of the
- * 1st address given in the 2nd argument. The result will be stored
- * in the buf that is bufsize bytes big.
+ * Curl_printable_address() returns a printable version of the 1st address
+ * given in the 'ip' argument. The result will be stored in the buf that is
+ * bufsize bytes big.
  */
 const char *Curl_printable_address(const Curl_ipconnect *ip,
                                    char *buf, size_t bufsize);