From 0178b9f16dbb975f6b81110fda2e6bdd60699753 Mon Sep 17 00:00:00 2001 From: Richa Bharti Date: Thu, 20 Jul 2023 17:56:00 +0530 Subject: [PATCH] evtest: fix typo to include usec in input event time Currently evtest prints input event in sec.sec time format. Modify the patch to support sec.usec format for input events. Fixes: 64f07ba8528cda14ad552e492dfd2e7f054fbb08 Signed-off-by: Richa Bharti --- .../0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-oe/recipes-test/evtest/evtest/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch b/meta-oe/recipes-test/evtest/evtest/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch index 706322d5653..aa49a06296d 100644 --- a/meta-oe/recipes-test/evtest/evtest/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch +++ b/meta-oe/recipes-test/evtest/evtest/0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch @@ -35,7 +35,7 @@ index 548c203..93063cd 100644 code = ev[i].code; - printf("Event: time %ld.%06ld, ", ev[i].time.tv_sec, ev[i].time.tv_usec); -+ printf("Event: time %ld.%06ld, ", ev[i].input_event_sec, ev[i].input_event_sec); ++ printf("Event: time %ld.%06ld, ", ev[i].input_event_sec, ev[i].input_event_usec); if (type == EV_SYN) { if (code == SYN_MT_REPORT)