summaryrefslogtreecommitdiffstats
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
commit0643ba5c2cb05e53995be7b42863c9582f7b3624 (patch)
treea9c0285e5d7a76545e415157d7dd8d5911af307b
parente1c14b0cd9c2d6edd97517368ab16647191b4429 (diff)
downloadpw-darwin-0643ba5c2cb05e53995be7b42863c9582f7b3624.tar.gz
pw-darwin-0643ba5c2cb05e53995be7b42863c9582f7b3624.tar.zst
pw-darwin-0643ba5c2cb05e53995be7b42863c9582f7b3624.zip
Fix pkg groupshow <gid>
PR: 204676 Submitted by: longwitz@incore.de MFC after: 2 days
-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;