Skip to content

Commit c4e2747

Browse files
author
vboxsync
committed
Runtime/threadctxhooks/linux: Again, Assert not AssertPtr for bools.
git-svn-id: http://www.virtualbox.org/svn/vbox/trunk@47734 cfe28804-0f27-0410-a406-dd0f0b0b656f
1 parent 0516e4b commit c4e2747

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/VBox/Runtime/r0drv/linux/threadctxhooks-r0drv-linux.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ static void rtThreadCtxHooksLnxSchedIn(struct preempt_notifier *pPreemptNotifier
103103
PRTTHREADCTXINT pThis = RT_FROM_MEMBER(pPreemptNotifier, RTTHREADCTXINT, hPreemptNotifier);
104104
AssertPtr(pThis);
105105
AssertPtr(pThis->pfnThreadCtxHook);
106-
AssertPtr(pThis->fRegistered);
106+
Assert(pThis->fRegistered);
107107

108108
pThis->pfnThreadCtxHook(RTTHREADCTXEVENT_RESUMED, pThis->pvUser);
109109
}

0 commit comments

Comments
 (0)