summaryrefslogtreecommitdiff
path: root/coreutils/id.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/id.c')
-rw-r--r--coreutils/id.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/id.c b/coreutils/id.c
index ce5db52..a1a1792 100644
--- a/coreutils/id.c
+++ b/coreutils/id.c
@@ -37,6 +37,7 @@ extern int id_main(int argc, char **argv)
int opt;
cp = user = group = NULL;
+ gid = 0;
while ((opt = getopt(argc, argv, "ugr")) > 0) {
switch (opt) {