mirror of
https://github.com/ashaduri/gsmartcontrol.git
synced 2026-11-24 14:56:40 +00:00
Windows compilation fixes.
Signed-off-by: Alexander Shaduri <ashaduri@gmail.com>
This commit is contained in:
1 parent
50e8464ecf
commit
d508db41c3
1 file changed
+1
-1
@@ -195,7 +195,7 @@ namespace internal {
|
||||
|
||||
inline int process_signal_send(process_id_t process_handle, signal_t sig)
|
||||
{
|
||||
if (process_handle <= 0) {
|
||||
if (process_handle == 0) {
|
||||
errno = ESRCH; // The pid or process group does not exist.
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user