This commit is contained in:
Steve Checkoway
2006-08-05 01:48:11 +00:00
parent cfdb3b9ae1
commit 50e35457dc
+2 -2
View File
@@ -91,8 +91,8 @@ bool CrashHandler::IsDebuggerPresent()
info.kp_proc.p_flag = 0;
// Call sysctl.
size = sizeof(info);
ret = sysctl(mib, sizeof(mib) / sizeof(*mib), &info, &size, NULL, 0);
size = sizeof( info );
ret = sysctl( mib, sizeof(mib)/sizeof(*mib), &info, &size, NULL, 0 );
// We're being debugged if the P_TRACED flag is set.