]> git.saurik.com Git - apple/xnu.git/blobdiff - iokit/Kernel/IOKitDebug.cpp
xnu-6153.141.1.tar.gz
[apple/xnu.git] / iokit / Kernel / IOKitDebug.cpp
index 9cf95e50124615c9641a5aa0163c22b5df6cec32..7c1a6a141463f762cf925eb48ebea4aa55af8ff8 100644 (file)
@@ -493,7 +493,7 @@ IOTrackingAddUser(IOTrackingQueue * queue, IOTrackingUser * mem, vm_size_t size)
        if ((kernel_task != current_task()) && (self = proc_self())) {
                bool user_64 = false;
                mem->btPID  = proc_pid(self);
-               (void)backtrace_user(&mem->btUser[0], kIOTrackingCallSiteBTs - 1, &num,
+               num = backtrace_user(&mem->btUser[0], kIOTrackingCallSiteBTs - 1, NULL,
                    &user_64, NULL);
                mem->user32 = !user_64;
                proc_rele(self);