summaryrefslogtreecommitdiffstats
path: root/Alc/ALc.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-30 20:46:18 -0700
committerChris Robinson <[email protected]>2011-09-30 20:46:18 -0700
commitbed37a148c3bb1e4d61ed989cfd6b1ebb251bec0 (patch)
treef61bef5935384c3da6e7a7f6641594194b5e19c3 /Alc/ALc.c
parentbf19186223d3b3cd684582b55868b58a0a0c2318 (diff)
Use raise(SIGTRAP) instead of kill(getpid(),SIGTRAP)
Diffstat (limited to 'Alc/ALc.c')
-rw-r--r--Alc/ALc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 3a24f5e9..0f7d48c3 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -1001,7 +1001,7 @@ static void alcSetError(ALCdevice *device, ALCenum errorCode)
if(IsDebuggerPresent())
DebugBreak();
#elif defined(SIGTRAP)
- kill(getpid(), SIGTRAP);
+ raise(SIGTRAP);
#endif
}