mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-17 05:43:59 +00:00
Fix the build when DTrace isn't enabled.
Reported by: stefanf X-MFC-With: r268600
This commit is contained in:
parent
019008ebf5
commit
26cf239814
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=268923
|
@ -613,8 +613,10 @@ void
|
|||
trap_check(struct trapframe *frame)
|
||||
{
|
||||
|
||||
#ifdef KDTRACE_HOOKS
|
||||
if (dtrace_trap_func != NULL && (*dtrace_trap_func)(frame))
|
||||
return;
|
||||
#endif
|
||||
trap(frame);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue