projects
/
suckless
/
slstatus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f8335a
)
simplified gid()
author
Ali H. Fardan
<raiz@firemail.cc>
Thu, 1 Sep 2016 18:51:32 +0000
(21:51 +0300)
committer
Ali H. Fardan
<raiz@firemail.cc>
Thu, 1 Sep 2016 18:51:32 +0000
(21:51 +0300)
slstatus.c
patch
|
blob
|
history
diff --git
a/slstatus.c
b/slstatus.c
index 7337e4a462e3d4a4c6e02cd2d0324b14aeabe8dd..a3b6b6a60396ae6bec9e11a126cfb33709e309dc 100644
(file)
--- 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 *