summaryrefslogtreecommitdiffstats
path: root/pw
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2016-12-10 12:48:48 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2016-12-10 12:48:48 +0000
commit714016a9d9e28dd9956794c3916bb3f2c6f68cbc (patch)
tree3432a44f711f814bccd77825099e6baf08517184 /pw
parentbf6355bb3cc93e6db08f51886034f025350ae7f2 (diff)
downloadpw-darwin-714016a9d9e28dd9956794c3916bb3f2c6f68cbc.tar.gz
pw-darwin-714016a9d9e28dd9956794c3916bb3f2c6f68cbc.tar.zst
pw-darwin-714016a9d9e28dd9956794c3916bb3f2c6f68cbc.zip
Fix pkg groupshow <gid>
PR: 204676 Submitted by: longwitz@incore.de MFC after: 2 days
Diffstat (limited to 'pw')
-rw-r--r--pw/pw_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw_group.c b/pw/pw_group.c
index 834160f..0a2b1eb 100644
--- a/pw/pw_group.c
+++ b/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;