Make timestamps friendlier.

Change-Id: I378c3028630a7f805c3f730da02bbbfe07ec3654
This commit is contained in:
Jeff Brown 2011-11-23 15:02:41 -08:00
parent 5c9263d819
commit e4e21796f7

View file

@ -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]);