From: nekral-guest Date: Tue, 10 Jun 2008 20:02:12 +0000 (+0000) Subject: Fix typo. Compil fix. X-Git-Tag: 4.1.3~408 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3c68f1692fee433601800972b60f31ae2dbf09f;p=shadow Fix typo. Compil fix. --- diff --git a/lib/sgetpwent.c b/lib/sgetpwent.c index f43d1f0a..421d6464 100644 --- a/lib/sgetpwent.c +++ b/lib/sgetpwent.c @@ -115,7 +115,7 @@ struct passwd *sgetpwent (const char *buf) } /* FIXME: (0 == pwent.pw_gid) does not look correct -- nekral */ pwent.pw_gid = strtol (fields[3], &ep, 10); - if ((0 == pwent.pw_gid) && ('\0' != *ep))) { + if ((0 == pwent.pw_gid) && ('\0' != *ep)) { return NULL; } pwent.pw_gecos = fields[4];