diff options
| author | Jim Meyering <meyering@redhat.com> | 2008-02-24 18:12:15 +0100 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2008-02-24 18:12:15 +0100 |
| commit | 9396e9104e9965b9608a3652c18d7c2d94ea3351 (patch) | |
| tree | dd0748ee685963e538f78e5afb3ac556c64dea14 /gl | |
| parent | * gl/lib/mgetgroups.c: Include <stdlib.h>. (diff) | |
| download | coreutils-9396e9104e9965b9608a3652c18d7c2d94ea3351.tar.gz coreutils-9396e9104e9965b9608a3652c18d7c2d94ea3351.zip | |
* gl/lib/mgetgroups.c (mgetgroups): Parenthesize correctly.
Diffstat (limited to 'gl')
| -rw-r--r-- | gl/lib/mgetgroups.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
