On Tue, May 06, 2014 at 21:20, Peter Malone wrote:
>        */
> -     if ((selected = malloc(nproc)) == NULL)
> +     if ((selected = calloc(1, nproc)) == NULL)
>               errx(STATUS_ERROR, "memory allocation failure");

selected is an array of nproc chars, so I made it calloc(nproc, 1).
really, it doesn't matter, I just felt like being different this time.

Reply via email to