summaryrefslogtreecommitdiff
path: root/src/commands/groups.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/commands/groups.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/groups.c b/src/commands/groups.c
index 1969edf..4aa7776 100644
--- a/src/commands/groups.c
+++ b/src/commands/groups.c
@@ -6,7 +6,7 @@
COMMAND_EMPTY(groups) {
- __uid_t uid = getuid();
+ uid_t uid = getuid();
struct passwd* pw = getpwuid(uid);
if(pw == NULL){
@@ -16,7 +16,7 @@ COMMAND_EMPTY(groups) {
int ngroups = 0;
getgrouplist(pw->pw_name, pw->pw_gid, NULL, &ngroups);
- __gid_t groups[ngroups];
+ gid_t groups[ngroups];
getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups);
for (int i = 0; i < ngroups; i++){