From owner-svn-src-stable@FreeBSD.ORG Fri Dec 18 20:08:30 2009 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24695106566C; Fri, 18 Dec 2009 20:08:30 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1315E8FC17; Fri, 18 Dec 2009 20:08:30 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nBIK8TSg007014; Fri, 18 Dec 2009 20:08:29 GMT (envelope-from scf@svn.freebsd.org) Received: (from scf@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nBIK8TjU007012; Fri, 18 Dec 2009 20:08:29 GMT (envelope-from scf@svn.freebsd.org) Message-Id: <200912182008.nBIK8TjU007012@svn.freebsd.org> From: Sean Farley Date: Fri, 18 Dec 2009 20:08:29 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org X-SVN-Group: stable-7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r200684 - stable/7/lib/libutil X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 20:08:30 -0000 Author: scf Date: Fri Dec 18 20:08:29 2009 New Revision: 200684 URL: http://svn.freebsd.org/changeset/base/200684 Log: Merge from head to stable/7: r200423: Remove a dead store. Modified: stable/7/lib/libutil/gr_util.c Directory Properties: stable/7/lib/libutil/ (props changed) Modified: stable/7/lib/libutil/gr_util.c ============================================================================== --- stable/7/lib/libutil/gr_util.c Fri Dec 18 20:05:10 2009 (r200683) +++ stable/7/lib/libutil/gr_util.c Fri Dec 18 20:08:29 2009 (r200684) @@ -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]);