diff options
author | wpaul <wpaul@FreeBSD.org> | 1995-02-01 20:09:00 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1995-02-01 20:09:00 +0000 |
commit | 1818a0c4e1b95ae652112b9343d8411c4a617014 (patch) | |
tree | 4a296ab0835e2d091efe562fb32ae15d2db574ca /lib/libc | |
parent | 58429fdc3154ba236e45689828963fd980921654 (diff) | |
download | FreeBSD-src-1818a0c4e1b95ae652112b9343d8411c4a617014.zip FreeBSD-src-1818a0c4e1b95ae652112b9343d8411c4a617014.tar.gz |
Fix for that last fix... pass the hat. :)
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/getpwent.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c index 9ff593e..e8ac1e7 100644 --- a/lib/libc/gen/getpwent.c +++ b/lib/libc/gen/getpwent.c @@ -442,8 +442,7 @@ _getyppass(struct passwd *pw, const char *name, const char *map) /* Don't even bother with this if we aren't root. */ if (!geteuid()) if (_havemaster(_pw_yp_domain)) { - sprintf(mastermap,"master.passwd.%s", - strstr(map,"byuid") ? "byuid" : "byname"); + sprintf(mastermap,"master.%s", map); gotmaster++; } |