From f81483bc2f4f0ac1e3a6a002a8cc0b5ff1ac19f8 Mon Sep 17 00:00:00 2001 From: ngie Date: Mon, 26 Oct 2015 00:28:05 +0000 Subject: [PATCH] MFC r289600: Initialize `quiet` to false so `pw groupnext` again prints out the next gid by default Reported by: Florian Degner PR: 203876 Sponsored by: EMC / Isilon Storage Division git-svn-id: svn://svn.freebsd.org/base/stable/10@289978 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- usr.sbin/pw/pw_group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/pw/pw_group.c b/usr.sbin/pw/pw_group.c index 711ef68b0..67beab978 100644 --- a/usr.sbin/pw/pw_group.c +++ b/usr.sbin/pw/pw_group.c @@ -259,7 +259,7 @@ pw_group_next(int argc, char **argv, char *arg1 __unused) struct userconf *cnf; const char *cfg = NULL; int ch; - bool quiet; + bool quiet = false; while ((ch = getopt(argc, argv, "Cq")) != -1) { switch (ch) { -- 2.45.0