X-Git-Url: http://git.ithinksw.org/ITFoundation.git/blobdiff_plain/2f6f5b098085f36298e23e690cf27b61b4e2ec36..ba38a33a2b82f8adb39fdd5b40e2da5d42913fbd:/ITVirtualMemoryInfo.m?ds=sidebyside diff --git a/ITVirtualMemoryInfo.m b/ITVirtualMemoryInfo.m index 3c6a96a..6d8e004 100755 --- a/ITVirtualMemoryInfo.m +++ b/ITVirtualMemoryInfo.m @@ -106,7 +106,7 @@ - (BOOL)refreshStats:(struct vm_statistics *)myStat { - bzero(&myStat,sizeof(myStat)); + bzero(myStat,sizeof(myStat)); mach_port_t myHost = mach_host_self(); int count = HOST_VM_INFO_COUNT; NSLog(@"%i",count);