Make timestamps friendlier.
Change-Id: I378c3028630a7f805c3f730da02bbbfe07ec3654
This commit is contained in:
parent
5c9263d819
commit
e4e21796f7
1 changed files with 1 additions and 1 deletions
|
@ -643,7 +643,7 @@ int getevent_main(int argc, char *argv[])
|
|||
return 1;
|
||||
}
|
||||
if(get_time) {
|
||||
printf("%ld-%ld: ", event.time.tv_sec, event.time.tv_usec);
|
||||
printf("[%8ld.%06ld] ", event.time.tv_sec, event.time.tv_usec);
|
||||
}
|
||||
if(print_device)
|
||||
printf("%s: ", device_names[i]);
|
||||
|
|
Loading…
Reference in a new issue