diff options
Diffstat (limited to 'winsup/cygwin/window.cc')
-rw-r--r-- | winsup/cygwin/window.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/window.cc b/winsup/cygwin/window.cc index 80e95a1..55bc369 100644 --- a/winsup/cygwin/window.cc +++ b/winsup/cygwin/window.cc @@ -148,7 +148,7 @@ setitimer (int which, const struct itimerval *value, struct itimerval *oldvalue) if (which != ITIMER_REAL) { - set_errno (EINVAL); + set_errno (ENOSYS); return -1; } /* Check if we will wrap */ |