[BACK]Return to swap.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / systat

Diff for /src/usr.bin/systat/swap.c between version 1.26 and 1.27

version 1.26, 2015/01/16 00:03:38 version 1.27, 2015/08/20 22:32:42
Line 115 
Line 115 
         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;
   

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.27