diff options
Diffstat (limited to 'src/commands/id.c')
-rw-r--r-- | src/commands/id.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/id.c b/src/commands/id.c index ab974b1..f1790bc 100644 --- a/src/commands/id.c +++ b/src/commands/id.c @@ -6,8 +6,8 @@ COMMAND_EMPTY(user_id) { - __uid_t uid = getuid(); - __gid_t gid = getgid(); + uid_t uid = getuid(); + gid_t gid = getgid(); struct passwd* pw = getpwuid(uid); if(pw == NULL){ @@ -17,7 +17,7 @@ COMMAND_EMPTY(user_id) { 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); struct group* ugr = getgrgid(gid); |