about summary refs log tree commit diff
path: root/inet/getnameinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/getnameinfo.c')
-rw-r--r--inet/getnameinfo.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c
index 0811f2775f..6beeba0a19 100644
--- a/inet/getnameinfo.c
+++ b/inet/getnameinfo.c
@@ -318,11 +318,11 @@ getnameinfo (const struct sockaddr *sa, socklen_t addrlen, char *host,
 			    size_t scopelen;
 
 			    scopebuf[0] = SCOPE_DELIMITER;
-			    scopelen = 1 + snprintf (scopeptr,
-						     (scopebuf
-						      + sizeof scopebuf
-						      - scopeptr),
-						     "%u", scopeid);
+			    scopelen = 1 + __snprintf (scopeptr,
+						       (scopebuf
+							+ sizeof scopebuf
+							- scopeptr),
+						       "%u", scopeid);
 
 			    real_hostlen = __strnlen (host, hostlen);
 			    if (real_hostlen + scopelen + 1 > hostlen)