From: Jim Meyering Date: Sun, 24 Feb 2008 17:12:15 +0000 (+0100) Subject: * gl/lib/mgetgroups.c (mgetgroups): Parenthesize correctly. X-Git-Tag: v6.11~118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9396e9104e9965b9608a3652c18d7c2d94ea3351;p=platform%2Fupstream%2Fcoreutils.git * gl/lib/mgetgroups.c (mgetgroups): Parenthesize correctly. --- diff --git a/gl/lib/mgetgroups.c b/gl/lib/mgetgroups.c index 01ae91e..ad1fd4f 100644 --- a/gl/lib/mgetgroups.c +++ b/gl/lib/mgetgroups.c @@ -103,7 +103,7 @@ mgetgroups (char const *username, gid_t gid, GETGROUPS_T **groups) max_n_groups reflects the new number of groups. */ if (xalloc_oversized (max_n_groups, sizeof *h) - || (h = realloc (g, max_n_groups * sizeof *h) == NULL)) + || (h = realloc (g, max_n_groups * sizeof *h)) == NULL) { int saved_errno = errno; free (g);