mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +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:
committed by
Khem Raj
parent
ba016d73b5
commit
f0b8ee3702
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user