summaryrefslogtreecommitdiff
path: root/libc/inet/ntop.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/ntop.c')
-rw-r--r--libc/inet/ntop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/inet/ntop.c b/libc/inet/ntop.c
index 2fcc77591..91fa2b899 100644
--- a/libc/inet/ntop.c
+++ b/libc/inet/ntop.c
@@ -163,7 +163,7 @@ inet_ntop6(const u_char *src, char *dst, size_t size)
tp += __strlen(tp);
break;
}
- tp += sprintf(tp, "%x", words[i]);
+ tp += __sprintf(tp, "%x", words[i]);
}
/* Was it a trailing run of 0x00's? */
if (best.base != -1 && (best.base + best.len) == 8)