diff --git a/src/common/address.c b/src/common/address.c
index c5d0e918ca..a6fd8c076a 100644
--- a/src/common/address.c
+++ b/src/common/address.c
@@ -564,8 +564,8 @@ tor_addr_parse_PTR_name(tor_addr_t *result, const char *address,
/** Convert addr to an in-addr.arpa name or a .ip6.arpa name,
* and store the result in the outlen-byte buffer at
- * out. Return the number of chars written to out, not
- * including the trailing \0, on success. Returns -1 on failure. */
+ * out. Returns a non-negative integer on success.
+ * Returns -1 on failure. */
int
tor_addr_to_PTR_name(char *out, size_t outlen,
const tor_addr_t *addr)
@@ -2051,7 +2051,8 @@ parse_port_range(const char *port, uint16_t *port_min_out,
/** Given an IPv4 in_addr struct *in (in network order, as usual),
* write it as a string into the buf_len-byte buffer in
- * buf.
+ * buf. Returns a non-negative integer on success.
+ * Returns -1 on failure.
*/
int
tor_inet_ntoa(const struct in_addr *in, char *buf, size_t buf_len)
diff --git a/src/common/util.c b/src/common/util.c
index 4babc4adcc..745b3a8961 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -1953,7 +1953,7 @@ parse_http_time(const char *date, struct tm *tm)
/** Given an interval in seconds, try to write it to the
* out_len-byte buffer in out in a human-readable form.
- * Return 0 on success, -1 on failure.
+ * Returns a non-negative integer on success, -1 on failure.
*/
int
format_time_interval(char *out, size_t out_len, long interval)