Pass the right size to calloc (* not **).

This commit is contained in:
Nicholas Marriott 2011-07-09 01:38:01 +00:00
parent 67e70770c8
commit 5ae4b4acc0

View File

@ -39,7 +39,7 @@ args_create(int argc, ...)
if (argc == 0)
args->argv = NULL;
else
args->argv = xcalloc(argc, sizeof **args->argv);
args->argv = xcalloc(argc, sizeof *args->argv);
va_start(ap, argc);
for (i = 0; i < argc; i++)