From f9d64bf51e1ca18a54d3d5f6f256c63bfde70bf0 Mon Sep 17 00:00:00 2001 From: davidn Date: Wed, 26 Mar 1997 15:42:09 +0000 Subject: Remove minor warning (for -Wall -Wshadow); clarifies code. --- lib/libc/gen/getpwent.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/libc') diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c index 3cd9fdc..d1cec3e 100644 --- a/lib/libc/gen/getpwent.c +++ b/lib/libc/gen/getpwent.c @@ -691,12 +691,12 @@ _pw_breakout_yp(struct passwd *pw, char *res, int resultlen, int master) } static int -_havemaster(char *_pw_yp_domain) +_havemaster(char *_yp_domain) { int order; int rval; - if (!(rval = yp_order(_pw_yp_domain, "master.passwd.byname", &order))) + if (!(rval = yp_order(_yp_domain, "master.passwd.byname", &order))) return(YP_HAVE_MASTER); /* @@ -708,7 +708,7 @@ _havemaster(char *_pw_yp_domain) /* master.passwd doesn't exist -- try passwd.adjunct */ if (rval == YPERR_MAP) { - rval = yp_order(_pw_yp_domain, "passwd.adjunct.byname", &order); + rval = yp_order(_yp_domain, "passwd.adjunct.byname", &order); if (!rval) return(YP_HAVE_ADJUNCT); } -- cgit v1.1