Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2015 21:03:50 +0000 (UTC)
From:      "Pedro F. Giffuni" <pfg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r278814 - head/lib/libc/gen
Message-ID:  <201502152103.t1FL3o5v055150@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;							\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201502152103.t1FL3o5v055150>