evtest: fix time64 patch.

This commit is contained in:
Érico Rolim 2021-02-23 14:45:27 -03:00
parent 4ac333c3b1
commit 59aa7c46d5

View file

@ -5,7 +5,7 @@
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_usec);
+ printf("Event: time %lld.%06ld, ", (long long)ev[i].input_event_sec, (long)ev[i].input_event_usec);
if (type == EV_SYN) {
if (code == SYN_MT_REPORT)