commit | e4e21796f72e09d4fab153992b31cb1c6f65d0b0 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Wed Nov 23 15:02:41 2011 -0800 |
committer | Jeff Brown <jeffbrown@google.com> | Wed Nov 23 15:02:41 2011 -0800 |
tree | 2b0a549b61dadee4d8850a25c7abf92369df27ca | |
parent | 5c9263d819171a2080f175e3582e1e6041130722 [diff] |
Make timestamps friendlier. Change-Id: I378c3028630a7f805c3f730da02bbbfe07ec3654
diff --git a/toolbox/getevent.c b/toolbox/getevent.c index 352f6f9..5f5e16b 100644 --- a/toolbox/getevent.c +++ b/toolbox/getevent.c
@@ -643,7 +643,7 @@ 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]);