diff options
-rw-r--r-- | coreutils/id.c | 1 | ||||
-rw-r--r-- | id.c | 1 |
2 files changed, 2 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) { @@ -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) { |