Return to swap.c CVS log | Up to [local] / src / usr.bin / systat |
version 1.26, 2015/01/16 00:03:38 | version 1.27, 2015/08/20 22:32:42 | ||
---|---|---|---|
|
|
||
if (swap_devices) | if (swap_devices) | ||
(void)free(swap_devices); | (void)free(swap_devices); | ||
swap_devices = (struct swapent *)calloc(nswap, sizeof(*swap_devices)); | swap_devices = calloc(nswap, sizeof(*swap_devices)); | ||
if (swap_devices == NULL) | if (swap_devices == NULL) | ||
return 0; | return 0; | ||