summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c
index cc128613d8..3788157044 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1797,6 +1797,7 @@ int
ioctl(int i, unsigned int u, long data)
#endif
{
+ errno = EINVAL;
return -1;
}