summaryrefslogtreecommitdiff
path: root/tests/gem_flink.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_flink.c')
-rw-r--r--tests/gem_flink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_flink.c b/tests/gem_flink.c
index ff999d2e..8dc88320 100644
--- a/tests/gem_flink.c
+++ b/tests/gem_flink.c
@@ -96,7 +96,7 @@ test_bad_flink(int fd)
flink.handle = 0x10101010;
ret = ioctl(fd, DRM_IOCTL_GEM_FLINK, &flink);
- assert(ret == -1 && errno == EBADF);
+ assert(ret == -1 && errno == ENOENT);
}
static void