diff options
Diffstat (limited to 'lib/libc/gen/getnetgrent.c')
-rw-r--r-- | lib/libc/gen/getnetgrent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/getnetgrent.c b/lib/libc/gen/getnetgrent.c index 9b9d0d9..69d2d94 100644 --- a/lib/libc/gen/getnetgrent.c +++ b/lib/libc/gen/getnetgrent.c @@ -280,7 +280,7 @@ int len; { char *ptr = list; - while (ptr = strstr(ptr, group)) { + while ( (ptr = strstr(ptr, group)) ) { ptr += strlen(group); @@ -317,7 +317,7 @@ int *rotation; */ int innetgr(group, host, user, dom) - char *group, *host, *user, *dom; + const char *group, *host, *user, *dom; { char *hst, *usr, *dm; #ifdef YP |