summaryrefslogtreecommitdiff
path: root/libc/inet/getnetbynm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/inet/getnetbynm.c')
-rw-r--r--libc/inet/getnetbynm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/inet/getnetbynm.c b/libc/inet/getnetbynm.c
index 456c337c1..5479c654b 100644
--- a/libc/inet/getnetbynm.c
+++ b/libc/inet/getnetbynm.c
@@ -30,10 +30,10 @@ getnetbyname(const char *name)
setnetent(_net_stayopen);
while ((p = getnetent())) {
- if (strcmp(p->n_name, name) == 0)
+ if (__strcmp(p->n_name, name) == 0)
break;
for (cp = p->n_aliases; *cp != 0; cp++)
- if (strcmp(*cp, name) == 0)
+ if (__strcmp(*cp, name) == 0)
goto found;
}
found: