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