diff options
author | Sean Farley <scf@FreeBSD.org> | 2009-12-18 20:05:10 +0000 |
---|---|---|
committer | Sean Farley <scf@FreeBSD.org> | 2009-12-18 20:05:10 +0000 |
commit | 0b11d21ad0e64d2217a7309d917addc1fc17c4d3 (patch) | |
tree | c9d82f74251d71d78246a31e02176187e7dcd64d /libutil/gr_util.c | |
parent | 9ac072c5534fe9a159cc808b8c4ea641353c3306 (diff) | |
download | pw-darwin-0b11d21ad0e64d2217a7309d917addc1fc17c4d3.tar.gz pw-darwin-0b11d21ad0e64d2217a7309d917addc1fc17c4d3.tar.zst pw-darwin-0b11d21ad0e64d2217a7309d917addc1fc17c4d3.zip |
Merge from head to stable/8:
r200423:
Remove a dead store.
Diffstat (limited to 'libutil/gr_util.c')
-rw-r--r-- | libutil/gr_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libutil/gr_util.c b/libutil/gr_util.c index 77e0653..633f435 100644 --- a/libutil/gr_util.c +++ b/libutil/gr_util.c @@ -117,8 +117,8 @@ gr_make(const struct group *gr) /* Create the group line and fill it. */ if ((line = malloc(line_size)) == NULL) return (NULL); - line_size = snprintf(line, line_size, group_line_format, gr->gr_name, - gr->gr_passwd, (uintmax_t)gr->gr_gid); + snprintf(line, line_size, group_line_format, gr->gr_name, gr->gr_passwd, + (uintmax_t)gr->gr_gid); if (gr->gr_mem != NULL) for (ndx = 0; gr->gr_mem[ndx] != NULL; ndx++) { strcat(line, gr->gr_mem[ndx]); |