svn commit: r289978 - stable/10/usr.sbin/pw

Garrett Cooper ngie at FreeBSD.org
Mon Oct 26 00:28:07 UTC 2015


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


More information about the svn-src-all mailing list