Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Oct 2015 00:28:05 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r289978 - stable/10/usr.sbin/pw
Message-ID:  <201510260028.t9Q0S5f4050729@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Mon Oct 26 00:28:05 2015
New Revision: 289978
URL: https://svnweb.freebsd.org/changeset/base/289978

Log:
  MFC r289600:
  
  Initialize `quiet` to false so `pw groupnext` again prints out the next gid
  by default
  
  Reported by: Florian Degner <f.degner@gmx.de>
  PR: 203876
  Sponsored by: EMC / Isilon Storage Division

Modified:
  stable/10/usr.sbin/pw/pw_group.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/usr.sbin/pw/pw_group.c
==============================================================================
--- stable/10/usr.sbin/pw/pw_group.c	Mon Oct 26 00:15:02 2015	(r289977)
+++ stable/10/usr.sbin/pw/pw_group.c	Mon Oct 26 00:28:05 2015	(r289978)
@@ -259,7 +259,7 @@ pw_group_next(int argc, char **argv, cha
 	struct userconf *cnf;
 	const char *cfg = NULL;
 	int ch;
-	bool quiet;
+	bool quiet = false;
 
 	while ((ch = getopt(argc, argv, "Cq")) != -1) {
 		switch (ch) {



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