From d3a212da7e09f11753aafd76f16dccb1ade822e1 Mon Sep 17 00:00:00 2001 From: "Ali H. Fardan" Date: Thu, 1 Sep 2016 21:51:32 +0300 Subject: simplified gid() --- slstatus.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/slstatus.c b/slstatus.c index 7337e4a..a3b6b6a 100644 --- a/slstatus.c +++ b/slstatus.c @@ -262,8 +262,7 @@ entropy(void) static char * gid(void) { - gid_t gid = getgid(); - return smprintf("%d", gid); + return smprintf("%d", getgid()); } static char * -- cgit v1.2.3