diff options
author | jkh <jkh@FreeBSD.org> | 1996-12-05 18:22:00 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-12-05 18:22:00 +0000 |
commit | d9e46a2d1ad8a223f05221279fb2d38533235a50 (patch) | |
tree | d8570fc26130a9db253b7fade551f48be50a4e29 /lib/libc/gen/getnetgrent.c | |
parent | 9f43ee66809f584e26627b5dbc9383872744ccf0 (diff) | |
download | FreeBSD-src-d9e46a2d1ad8a223f05221279fb2d38533235a50.zip FreeBSD-src-d9e46a2d1ad8a223f05221279fb2d38533235a50.tar.gz |
_key is a char array and we don't need to pass its address to _buildkey()
when buildkey is expecting a char *.
Diffstat (limited to 'lib/libc/gen/getnetgrent.c')
-rw-r--r-- | lib/libc/gen/getnetgrent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getnetgrent.c b/lib/libc/gen/getnetgrent.c index 69d2d94..f0d7967 100644 --- a/lib/libc/gen/getnetgrent.c +++ b/lib/libc/gen/getnetgrent.c @@ -346,7 +346,7 @@ innetgr(group, host, user, dom) if(yp_get_default_domain(&_netgr_yp_domain)) return(0); - while(_buildkey(&_key, user ? user : host, dom, &rot)) { + while(_buildkey(_key, user ? user : host, dom, &rot)) { if (!yp_match(_netgr_yp_domain, user? "netgroup.byuser": "netgroup.byhost", _key, strlen(_key), &result, &resultlen)) { |