From 9396e9104e9965b9608a3652c18d7c2d94ea3351 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 24 Feb 2008 18:12:15 +0100 Subject: * gl/lib/mgetgroups.c (mgetgroups): Parenthesize correctly. --- gl/lib/mgetgroups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gl/lib/mgetgroups.c b/gl/lib/mgetgroups.c index 01ae91e3a..ad1fd4f3b 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); -- cgit v1.2.3-54-g00ecf