]> git.saurik.com Git - apple/shell_cmds.git/blobdiff - id/id.c
shell_cmds-170.tar.gz
[apple/shell_cmds.git] / id / id.c
diff --git a/id/id.c b/id/id.c
index 5c5647f9ea0f578ce1bbbf3b5114cf2b63ec2664..4506f9b75ec096b4343677d9676008840a569e6b 100644 (file)
--- a/id/id.c
+++ b/id/id.c
@@ -365,7 +365,7 @@ group(struct passwd *pw, int nflag)
        struct group *gr;
        int cnt, id, lastid, ngroups;
 #ifdef __APPLE__
-       gid_t *groups;
+       gid_t *groups = NULL;
 #else
        gid_t groups[NGROUPS + 1];
 #endif