mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 15:15:34 +02:00
Fixed bug in detection of getgrouplist parameters.
On my system, OpenSuse, I got a compilation error that some arguments to getgrouplist() where not initialized
This commit is contained in:
parent
14798d3cd1
commit
4c99e3e948
1 changed files 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue