From 7559d73f7d6c944d9cd7d418e68e01d146e97d85 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Wed, 31 Dec 2014 19:01:18 -0600 Subject: [PATCH] fix build error on OS X --- compat/bsd-setresgid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compat/bsd-setresgid.c b/compat/bsd-setresgid.c index 320e8f0..c77b459 100644 --- a/compat/bsd-setresgid.c +++ b/compat/bsd-setresgid.c @@ -30,7 +30,7 @@ setresgid(gid_t rgid, gid_t egid, gid_t sgid) # else if (setegid(egid) == -1) return -1; - if (setgid(rgid)) == -1) + if (setgid(rgid) == -1) return -1; # endif