summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pw
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-12-12 07:02:53 +0000
committerbapt <bapt@FreeBSD.org>2016-12-12 07:02:53 +0000
commit52e8ae658fd1e6e74c0e054a8004d6764a53ee1f (patch)
treeed652a220912c00af1bfcd92cdd5f229c913b9b1 /usr.sbin/pw
parenta96eb7f796395bc772e4cab4d56816c5973877bd (diff)
downloadFreeBSD-src-52e8ae658fd1e6e74c0e054a8004d6764a53ee1f.zip
FreeBSD-src-52e8ae658fd1e6e74c0e054a8004d6764a53ee1f.tar.gz
MFC r309803:
Fix pw groupshow <gid> PR: 204676 Submitted by: longwitz@incore.de
Diffstat (limited to 'usr.sbin/pw')
-rw-r--r--usr.sbin/pw/pw_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pw/pw_group.c b/usr.sbin/pw/pw_group.c
index 834160f..0a2b1eb 100644
--- a/usr.sbin/pw/pw_group.c
+++ b/usr.sbin/pw/pw_group.c
@@ -282,7 +282,7 @@ int
pw_group_show(int argc, char **argv, char *arg1)
{
struct group *grp = NULL;
- char *name;
+ char *name = NULL;
intmax_t id = -1;
int ch;
bool all, force, quiet, pretty;
OpenPOWER on IntegriCloud