--- tests/nouveau/threaded.c
+++ tests/nouveau/threaded.c
@@ -40,7 +40,7 @@
static int import_fd;
-int ioctl(int fd, unsigned long request, ...)
+int ioctl(int fd, int request, ...)
{
va_list va;
int ret;