aboutsummaryrefslogtreecommitdiff
path: root/resolv/inet_addr.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/inet_addr.c')
-rw-r--r--resolv/inet_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/resolv/inet_addr.c b/resolv/inet_addr.c
index 136792ebfa..9bb67594e5 100644
--- a/resolv/inet_addr.c
+++ b/resolv/inet_addr.c
@@ -130,7 +130,7 @@ inet_aton_end (const char *cp, struct in_addr *addr, const char **endp)
goto ret_0;
{
char *endp;
- unsigned long ul = strtoul (cp, &endp, 0);
+ unsigned long ul = __strtoul_internal (cp, &endp, 0, 0);
if (ul == ULONG_MAX && errno == ERANGE)
goto ret_0;
if (ul > 0xfffffffful)