From 6c4cbe6b5f60e5c00acabdaea5e66da0f0f7c905 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 16 Dec 2000 13:10:05 +0000 Subject: (main): Rename local, group, to gid. --- src/chgrp.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/chgrp.c b/src/chgrp.c index 7bb052511..bc840d65d 100644 --- a/src/chgrp.c +++ b/src/chgrp.c @@ -154,7 +154,7 @@ Change the group membership of each FILE to GROUP.\n\ int main (int argc, char **argv) { - gid_t group; + gid_t gid; int errors = 0; int optc; struct Chown_option chopt; @@ -215,16 +215,16 @@ main (int argc, char **argv) error (1, errno, _("getting attributes of %s"), quote (reference_file)); chopt.group_name = gid_to_name (ref_stats.st_gid); - group = ref_stats.st_gid; + gid = ref_stats.st_gid; } else { chopt.group_name = argv[optind++]; - parse_group (chopt.group_name, &group); + parse_group (chopt.group_name, &gid); } for (; optind < argc; ++optind) - errors |= change_file_owner (1, argv[optind], (uid_t) -1, group, + errors |= change_file_owner (1, argv[optind], (uid_t) -1, gid, (uid_t) -1, (gid_t) -1, &chopt); chopt_free (&chopt); -- cgit v1.2.3-70-g09d2