evtest: fix time64 patch.
This commit is contained in:
parent
4ac333c3b1
commit
59aa7c46d5
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
code = ev[i].code;
|
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].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 (type == EV_SYN) {
|
||||||
if (code == SYN_MT_REPORT)
|
if (code == SYN_MT_REPORT)
|
||||||
|
|
Loading…
Reference in a new issue