diff options
| author | Maxim Konovalov <maxim@FreeBSD.org> | 2002-10-02 07:02:46 +0000 |
|---|---|---|
| committer | Maxim Konovalov <maxim@FreeBSD.org> | 2002-10-02 07:02:46 +0000 |
| commit | 9b7c7ff8ce873feef4c147d5923d0ece613bbaaf (patch) | |
| tree | fa6ca3fdf79c4f42274ace573eac2bfbbf046141 | |
| parent | 50479880a8499889cfcdfdf2ea7702bf56a3d97b (diff) | |
Notes
| -rw-r--r-- | lib/libc/gen/pw_scan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/pw_scan.c b/lib/libc/gen/pw_scan.c index 95328a8b2d2f..3d49aa88be8f 100644 --- a/lib/libc/gen/pw_scan.c +++ b/lib/libc/gen/pw_scan.c @@ -104,7 +104,7 @@ __pw_scan(char *bp, struct passwd *pw, int flags) warnx("%s > max uid value (%lu)", p, ULONG_MAX); return (0); } - if (*ep != '\0' || ep == p) { + if (*ep != '\0') { if (flags & _PWSCAN_WARN) warnx("%s uid is incorrect", p); return (0); @@ -130,7 +130,7 @@ __pw_scan(char *bp, struct passwd *pw, int flags) warnx("%s > max gid value (%lu)", p, ULONG_MAX); return (0); } - if (*ep != '\0' || ep == p) { + if (*ep != '\0') { if (flags & _PWSCAN_WARN) warnx("%s gid is incorrect", p); return (0); |
