diff options
Diffstat (limited to 'lib/getgroups.c')
-rw-r--r-- | lib/getgroups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getgroups.c b/lib/getgroups.c index 9856adc1a4d..e71b5439c7e 100644 --- a/lib/getgroups.c +++ b/lib/getgroups.c @@ -86,7 +86,7 @@ rpl_getgroups (int n, gid_t *group) } saved_errno = errno; free (gbuf); - errno == saved_errno; + errno = saved_errno; return result; } |