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

Diff for /src/usr.bin/systat/uvm.c between version 1.4 and 1.5

version 1.4, 2018/06/21 13:47:22 version 1.5, 2019/06/28 13:35:04
Line 205 
Line 205 
         memcpy(&last_uvmexp, &uvmexp, sizeof(uvmexp));          memcpy(&last_uvmexp, &uvmexp, sizeof(uvmexp));
   
         size = sizeof(uvmexp);          size = sizeof(uvmexp);
         if (sysctl(uvmexp_mib, 2, &uvmexp, &size, NULL, 0) < 0) {          if (sysctl(uvmexp_mib, 2, &uvmexp, &size, NULL, 0) == -1) {
                 error("Can't get VM_UVMEXP: %s\n", strerror(errno));                  error("Can't get VM_UVMEXP: %s\n", strerror(errno));
                 memset(&uvmexp, 0, sizeof(uvmexp));                  memset(&uvmexp, 0, sizeof(uvmexp));
         }          }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5