raise now calls kill to have errno set correctly

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17493 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2006-05-17 15:46:47 +00:00
parent e0080ebf3b
commit 2a562c4223
+2 -2
View File
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2002-2004, Haiku Project. All rights reserved.
* Copyright (c) 2002-2006, Haiku Project. All rights reserved.
* Distributed under the terms of the Haiku license.
*
* Author(s):
@@ -14,6 +14,6 @@
int
raise(int sig)
{
return send_signal(find_thread(NULL), sig);
return kill(find_thread(NULL), sig);
}