[RFC/PATCH v1 2/3] tests/ioctl_evdev.c: use 0 instead of EV_SYN in EVIOCGBIT

Zhibin Li 08826794brmt at gmail.com
Fri Aug 10 11:12:43 UTC 2018


Because there is no EV_SYN in EVIOCGBIT, use 0 instead.
---
 tests/ioctl_evdev.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/ioctl_evdev.c b/tests/ioctl_evdev.c
index 5eacac02..071b6b0d 100644
--- a/tests/ioctl_evdev.c
+++ b/tests/ioctl_evdev.c
@@ -138,7 +138,7 @@ main(void)
 	TEST_NULL_ARG_EX(EVIOCGABS(0x3f), "EVIOCGABS(0x3f /* ABS_??? */)");
 	TEST_NULL_ARG_EX(EVIOCSABS(0x3f), "EVIOCSABS(0x3f /* ABS_??? */)");
 
-	TEST_NULL_ARG(EVIOCGBIT(EV_SYN, 0));
+	TEST_NULL_ARG(EVIOCGBIT(0, 0));
 	TEST_NULL_ARG(EVIOCGBIT(EV_KEY, 1));
 	TEST_NULL_ARG(EVIOCGBIT(EV_REL, 2));
 	TEST_NULL_ARG(EVIOCGBIT(EV_ABS, 3));
-- 
2.17.1



More information about the Strace-devel mailing list