summaryrefslogtreecommitdiffstats
path: root/testsuite/syscalls01/test_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/syscalls01/test_main.c')
-rw-r--r--testsuite/syscalls01/test_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/syscalls01/test_main.c b/testsuite/syscalls01/test_main.c
index 4c384c66..4fc669c4 100644
--- a/testsuite/syscalls01/test_main.c
+++ b/testsuite/syscalls01/test_main.c
@@ -1386,7 +1386,7 @@ test_kqueue_unsupported_ops(void)
errno = 0;
rv = ioctl(kq, 0);
assert(rv == -1);
- assert(errno == ENOTSUP);
+ assert(errno == ENOTTY);
errno = 0;
off = lseek(kq, 0, SEEK_CUR);