* "This program is in the Public Domain."
*/
-#include "internal.h"
+#include "busybox.h"
#include <sys/types.h>
#include <unistd.h>
#include <ctype.h>
initialize_group_array ()
{
ngroups = getgroups(0, NULL);
- if ((group_array = realloc(group_array, ngroups * sizeof(gid_t))) == NULL)
- fatalError("Out of space\n");
-
+ group_array = xrealloc(group_array, ngroups * sizeof(gid_t));
getgroups(ngroups, group_array);
}