diff options
author | Ali H. Fardan <raiz@firemail.cc> | 2016-09-01 21:51:32 +0300 |
---|---|---|
committer | Ali H. Fardan <raiz@firemail.cc> | 2016-09-01 21:51:32 +0300 |
commit | d3a212da7e09f11753aafd76f16dccb1ade822e1 (patch) | |
tree | 31668ba3da197ccbe21530bd45df52d95f9ffab9 | |
parent | 2f8335abf0d6347100cf63d82e8151ad0ff97ab0 (diff) |
simplified gid()
-rw-r--r-- | slstatus.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -262,8 +262,7 @@ entropy(void) static char * gid(void) { - gid_t gid = getgid(); - return smprintf("%d", gid); + return smprintf("%d", getgid()); } static char * |