]> git.cameronkatri.com Git - pw-darwin.git/commitdiff
Fix pkg groupshow <gid>
authorBaptiste Daroussin <bapt@FreeBSD.org>
Sat, 10 Dec 2016 12:48:48 +0000 (12:48 +0000)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Sat, 10 Dec 2016 12:48:48 +0000 (12:48 +0000)
PR: 204676
Submitted by: longwitz@incore.de
MFC after: 2 days

pw/pw_group.c

index 834160fd5191fbf92a199ad5e5b980c371f24664..0a2b1eb116e7374d291ed77cb3cb912e3a0fbd7c 100644 (file)
@@ -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;