Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
simplified gid()
[slstatus.git]
/
slstatus.c
diff --git
a/slstatus.c
b/slstatus.c
index
7337e4a
..
a3b6b6a
100644
(file)
--- a/
slstatus.c
+++ b/
slstatus.c
@@
-262,8
+262,7
@@
entropy(void)
static char *
gid(void)
{
static char *
gid(void)
{
- gid_t gid = getgid();
- return smprintf("%d", gid);
+ return smprintf("%d", getgid());
}
static char *
}
static char *