mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 06:52:31 +00:00
evtest: fix timestamps in output
Broken patch caused seconds to be printed twice instead of seconds and microseconds. Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
ba016d73b5
commit
f0b8ee3702
@ -35,7 +35,7 @@ index 548c203..93063cd 100644
|
|||||||
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_sec);
|
+ printf("Event: time %ld.%06ld, ", ev[i].input_event_sec, ev[i].input_event_usec);
|
||||||
|
|
||||||
if (type == EV_SYN) {
|
if (type == EV_SYN) {
|
||||||
if (code == SYN_MT_REPORT)
|
if (code == SYN_MT_REPORT)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user