Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Oct 2015 18:29:32 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289600 - head/usr.sbin/pw
Message-ID:  <201510191829.t9JITW06092081@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Mon Oct 19 18:29:32 2015
New Revision: 289600
URL: https://svnweb.freebsd.org/changeset/base/289600

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

Modified:
  head/usr.sbin/pw/pw_group.c

Modified: head/usr.sbin/pw/pw_group.c
==============================================================================
--- head/usr.sbin/pw/pw_group.c	Mon Oct 19 18:29:17 2015	(r289599)
+++ head/usr.sbin/pw/pw_group.c	Mon Oct 19 18:29:32 2015	(r289600)
@@ -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?201510191829.t9JITW06092081>