summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 6dafecb079..ff3d33be75 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -3733,7 +3733,7 @@ kill(int pid, int sig)
int ret = 0;
DWORD err;
- if (pid <= 0) {
+ if (pid < 0) {
errno = EINVAL;
return -1;
}