From owner-svn-src-head@FreeBSD.ORG Sun Feb 15 21:03:50 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BA37542E; Sun, 15 Feb 2015 21:03:50 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A4FF4882; Sun, 15 Feb 2015 21:03:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1FL3oZb055151; Sun, 15 Feb 2015 21:03:50 GMT (envelope-from pfg@FreeBSD.org) Received: (from pfg@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1FL3o5v055150; Sun, 15 Feb 2015 21:03:50 GMT (envelope-from pfg@FreeBSD.org) Message-Id: <201502152103.t1FL3o5v055150@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: pfg set sender to pfg@FreeBSD.org using -f From: "Pedro F. Giffuni" Date: Sun, 15 Feb 2015 21:03:50 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r278814 - head/lib/libc/gen X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Feb 2015 21:03:50 -0000 Author: pfg Date: Sun Feb 15 21:03:49 2015 New Revision: 278814 URL: https://svnweb.freebsd.org/changeset/base/278814 Log: Reverse one of the initializations from r278804. It does no harm but this is not needed after the correction in r278805 and I prefer to keep this code very similar to it's original state. Modified: head/lib/libc/gen/getgrent.c Modified: head/lib/libc/gen/getgrent.c ============================================================================== --- head/lib/libc/gen/getgrent.c Sun Feb 15 20:55:26 2015 (r278813) +++ head/lib/libc/gen/getgrent.c Sun Feb 15 21:03:49 2015 (r278814) @@ -1303,7 +1303,7 @@ compat_group(void *retval, void *mdata, void *discard; size_t bufsize, linesize; off_t pos; - int rv, stayopen = 0, *errnop; + int rv, stayopen, *errnop; #define set_lookup_type(x, y) do { \ int i; \