Date: Fri, 18 Dec 2009 20:05:10 +0000 (UTC) From: Sean Farley <scf@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r200683 - stable/8/lib/libutil Message-ID: <200912182005.nBIK5AHd006900@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: scf Date: Fri Dec 18 20:05:10 2009 New Revision: 200683 URL: http://svn.freebsd.org/changeset/base/200683 Log: Merge from head to stable/8: r200423: Remove a dead store. Modified: stable/8/lib/libutil/gr_util.c Directory Properties: stable/8/lib/libutil/ (props changed) Modified: stable/8/lib/libutil/gr_util.c ============================================================================== --- stable/8/lib/libutil/gr_util.c Fri Dec 18 19:50:47 2009 (r200682) +++ stable/8/lib/libutil/gr_util.c Fri Dec 18 20:05:10 2009 (r200683) @@ -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]);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912182005.nBIK5AHd006900>