svn commit: r289600 - head/usr.sbin/pw

Garrett Cooper ngie at FreeBSD.org
Mon Oct 19 18:29:34 UTC 2015


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 at 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) {


More information about the svn-src-head mailing list