From 7cb33ba63604cd1e82006ea6e9ceb912c1686e0d Mon Sep 17 00:00:00 2001 From: nekral-guest Date: Tue, 10 Jun 2008 20:34:25 +0000 Subject: [PATCH] Avoid implicit conversion of integer to boolean. --- src/newgrp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrp.c b/src/newgrp.c index c96544ce..acb5f0a5 100644 --- a/src/newgrp.c +++ b/src/newgrp.c @@ -644,7 +644,7 @@ int main (int argc, char **argv) fputs (_("too many groups\n"), stderr); } else { grouplist[ngroups++] = gid; - if (setgroups (ngroups, grouplist)) { + if (setgroups (ngroups, grouplist) != 0) { perror ("setgroups"); } }