[Pkg-shadow-commits] r2115 - upstream/trunk/src
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Tue Jun 10 20:34:25 UTC 2008
Author: nekral-guest
Date: 2008-06-10 20:34:25 +0000 (Tue, 10 Jun 2008)
New Revision: 2115
Modified:
upstream/trunk/src/newgrp.c
Log:
Avoid implicit conversion of integer to boolean.
Modified: upstream/trunk/src/newgrp.c
===================================================================
--- upstream/trunk/src/newgrp.c 2008-06-10 20:27:16 UTC (rev 2114)
+++ upstream/trunk/src/newgrp.c 2008-06-10 20:34:25 UTC (rev 2115)
@@ -644,7 +644,7 @@
fputs (_("too many groups\n"), stderr);
} else {
grouplist[ngroups++] = gid;
- if (setgroups (ngroups, grouplist)) {
+ if (setgroups (ngroups, grouplist) != 0) {
perror ("setgroups");
}
}
More information about the Pkg-shadow-commits
mailing list