diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 1997-03-10 16:47:19 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 1997-03-10 16:47:19 +0000 |
| commit | 09e846281958affd9bd4a2390f28d31c21149c33 (patch) | |
| tree | b75fb65485b9b77634f35ca4abb2327cc4163cc7 /lib/libc/gen/getpwent.c | |
| parent | 968ffc72fc4222fd99017bd4474169f705ac3123 (diff) | |
Notes
Diffstat (limited to 'lib/libc/gen/getpwent.c')
| -rw-r--r-- | lib/libc/gen/getpwent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/getpwent.c b/lib/libc/gen/getpwent.c index 4ec5bfcdb8cd..66ed5c062d44 100644 --- a/lib/libc/gen/getpwent.c +++ b/lib/libc/gen/getpwent.c @@ -622,7 +622,7 @@ _pw_breakout_yp(struct passwd *pw, char *res, int resultlen, int master) if ((s = strsep(&result, ":")) == NULL) return 0; /* password */ if(!(pw->pw_fields & _PWF_PASSWD)) { /* SunOS passwd.adjunct hack */ - if (master == YP_HAVE_ADJUNCT && !strstr(s, "##")) { + if (master == YP_HAVE_ADJUNCT && strstr(s, "##") != NULL) { char *realpw; realpw = _get_adjunct_pw(pw->pw_name); if (realpw == NULL) |
