aboutsummaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
Diffstat (limited to 'win32')
-rw-r--r--win32/process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/process.c b/win32/process.c
index 9ad75f94f..a0e8b96e0 100644
--- a/win32/process.c
+++ b/win32/process.c
@@ -15,7 +15,7 @@ int waitpid(pid_t pid, int *status, int options)
15 return ret == -1 ? -1 : pid; 15 return ret == -1 ? -1 : pid;
16 } 16 }
17 } 17 }
18 errno = EINVAL; 18 errno = pid < 0 ? ENOSYS : EINVAL;
19 return -1; 19 return -1;
20} 20}
21 21