Index: uspace/lib/c/generic/inet/addr.c
===================================================================
--- uspace/lib/c/generic/inet/addr.c	(revision 25a179efc4ecca45aa90793992b6c1c2743fd07f)
+++ uspace/lib/c/generic/inet/addr.c	(revision 10de84286f36c6e4f3f92d59c073639668ffe9a1)
@@ -584,4 +584,5 @@
 {
 	int rc;
+	int ret;
 
 	rc = ENOTSUP;
@@ -589,6 +590,6 @@
 	switch (addr->version) {
 	case ip_any:
-		rc = asprintf(bufp, "none");
-		if (rc < 0)
+		ret = asprintf(bufp, "none");
+		if (ret < 0)
 			return ENOMEM;
 		rc = EOK;
@@ -618,4 +619,5 @@
 {
 	int rc;
+	int ret;
 	char *astr;
 
@@ -624,6 +626,6 @@
 	switch (naddr->version) {
 	case ip_any:
-		rc = asprintf(bufp, "none");
-		if (rc < 0)
+		ret = asprintf(bufp, "none");
+		if (ret < 0)
 			return ENOMEM;
 		rc = EOK;
@@ -634,6 +636,6 @@
 			return ENOMEM;
 
-		rc = asprintf(bufp, "%s/%" PRIu8, astr, naddr->prefix);
-		if (rc < 0) {
+		ret = asprintf(bufp, "%s/%" PRIu8, astr, naddr->prefix);
+		if (ret < 0) {
 			free(astr);
 			return ENOMEM;
@@ -647,6 +649,6 @@
 			return ENOMEM;
 
-		rc = asprintf(bufp, "%s/%" PRIu8, astr, naddr->prefix);
-		if (rc < 0) {
+		ret = asprintf(bufp, "%s/%" PRIu8, astr, naddr->prefix);
+		if (ret < 0) {
 			free(astr);
 			return ENOMEM;
Index: uspace/lib/c/generic/inet/hostport.c
===================================================================
--- uspace/lib/c/generic/inet/hostport.c	(revision 25a179efc4ecca45aa90793992b6c1c2743fd07f)
+++ uspace/lib/c/generic/inet/hostport.c	(revision 10de84286f36c6e4f3f92d59c073639668ffe9a1)
@@ -140,4 +140,5 @@
 {
 	int rc;
+	int ret;
 	char *astr, *str;
 	char *hstr = NULL;
@@ -154,6 +155,6 @@
 			hstr = astr;
 		} else {
-			rc = asprintf(&hstr, "[%s]", astr);
-			if (rc < 0) {
+			ret = asprintf(&hstr, "[%s]", astr);
+			if (ret < 0) {
 				free(astr);
 				return ENOMEM;
@@ -171,6 +172,6 @@
 	}
 
-	rc = asprintf(&str, "%s:%u", hstr, hp->port);
-	if (rc < 0)
+	ret = asprintf(&str, "%s:%u", hstr, hp->port);
+	if (ret < 0)
 		return ENOMEM;
 
