diff options
author | Jim Meyering <jim@meyering.net> | 2000-12-16 13:10:05 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-12-16 13:10:05 +0000 |
commit | 6c4cbe6b5f60e5c00acabdaea5e66da0f0f7c905 (patch) | |
tree | 0208d090dcc9b66ee79ce83555baf4c88fe2c6bf | |
parent | ad31d9b60cd3bd665ea9f88d5120252855467d98 (diff) | |
download | coreutils-6c4cbe6b5f60e5c00acabdaea5e66da0f0f7c905.tar.xz |
(main): Rename local, group, to gid.
-rw-r--r-- | src/chgrp.c | 8 |
1 files 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); |