From: Peter Hutterer Date: Fri, 8 Nov 2019 01:34:01 +0000 (+1000) Subject: tools: libinput-record: expand the evdev event value to 7 digits X-Git-Tag: 1.14.901~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eef00ff3c67e0336d82d0309a3ccd827bd4f3605;p=platform%2Fupstream%2Flibinput.git tools: libinput-record: expand the evdev event value to 7 digits MSC_TIMESTAMPS need 7 digits so let's make sure everything is nicely aligned Signed-off-by: Peter Hutterer --- diff --git a/tools/libinput-record.c b/tools/libinput-record.c index f0bfbf0a..62e5bf02 100644 --- a/tools/libinput-record.c +++ b/tools/libinput-record.c @@ -241,7 +241,7 @@ print_evdev_event(struct record_context *ctx, struct input_event *ev) } iprintf(ctx, - "- [%3lu, %6u, %3d, %3d, %6d] # %s\n", + "- [%3lu, %6u, %3d, %3d, %7d] # %s\n", ev->time.tv_sec, (unsigned int)ev->time.tv_usec, ev->type,