summaryrefslogblamecommitdiff
path: root/user/v4l-utils/time64.patch
blob: 42092a7734a1ac21f31bb2d69c4505fe4ddfb03c (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                           
--- v4l-utils-1.18.0/utils/keytable/keytable.c.old	2019-09-22 09:22:54.000000000 +0000
+++ v4l-utils-1.18.0/utils/keytable/keytable.c	2020-01-20 02:38:23.659004998 +0000
@@ -1533,7 +1533,7 @@
 
 		for (i = 0; i < rd / sizeof(struct input_event); i++) {
 			printf(_("%ld.%06ld: event type %s(0x%02x)"),
-				ev[i].time.tv_sec, ev[i].time.tv_usec,
+				ev[i].input_event_sec, ev[i].input_event_usec,
 				get_event_name(events_type, ev[i].type), ev[i].type);
 
 			switch (ev[i].type) {