We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3295cb4 commit c3c65bcCopy full SHA for c3c65bc
1 file changed
src/chkshsgr.c
@@ -1,10 +1,11 @@
1
/* Public domain. */
2
3
+#include <sys/types.h>
4
#include <unistd.h>
5
6
int main()
7
{
- short x[4];
8
+ gid_t x[4];
9
10
x[0] = x[1] = 0;
11
if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);
0 commit comments