commit c3c65bcdfe53aac4f1bd27f4bfb3faccabfa2fd3 Author: Érico Rolim Date: Sun Aug 16 15:19:57 2020 -0300 chkshsgr.c: use gid_t. diff --git a/src/chkshsgr.c b/src/chkshsgr.c index 38c352d..31eda67 100644 --- a/runit-2.1.2/src/chkshsgr.c +++ b/runit-2.1.2/src/chkshsgr.c @@ -1,10 +1,11 @@ /* Public domain. */ +#include #include int main() { - short x[4]; + gid_t x[4]; x[0] = x[1] = 0; if (getgroups(1,x) == 0) if (setgroups(1,x) == -1) _exit(1);