aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/id.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/coreutils/id.c b/coreutils/id.c
index ce5db52f0..a1a17924c 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) {