Skip to content
Permalink
Browse files
Fixed bug in detection of getgrouplist parameters.
On my system, OpenSuse, I got a compilation error that some arguments
to getgrouplist() where not initialized
  • Loading branch information
montywi committed Oct 29, 2020
1 parent 14798d3 commit 4c99e3e
Showing 1 changed file with 2 additions and 2 deletions.
@@ -14,8 +14,8 @@ CHECK_C_SOURCE_COMPILES(
#include <grp.h>
#include <unistd.h>
int main() {
char *arg_1;
gid_t arg_2, arg_3;
char *arg_1= 0;
gid_t arg_2=0, arg_3;
int arg_4;
(void)getgrouplist(arg_1,arg_2,&arg_3,&arg_4);
return 0;

0 comments on commit 4c99e3e

Please sign in to comment.