diff options
-rw-r--r-- | tests/conform/events-touch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conform/events-touch.c b/tests/conform/events-touch.c index ab1f40d9d..e25290bc6 100644 --- a/tests/conform/events-touch.c +++ b/tests/conform/events-touch.c @@ -355,13 +355,13 @@ init_uinput (void) goto error; } - return 0; + return 1; error: if (fd != -1) close (fd); - return -1; + return 0; } #endif /* defined CLUTTER_WINDOWING_X11 && OS_LINUX && HAVE_XINPUT_2_2 */ |