summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/libinput-list-devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libinput-list-devices.c b/tools/libinput-list-devices.c
index e202388..3d86392 100644
--- a/tools/libinput-list-devices.c
+++ b/tools/libinput-list-devices.c
@@ -290,7 +290,7 @@ print_device_notify(struct libinput_event *ev)
libinput_seat_get_logical_name(seat));
if (libinput_device_get_size(dev, &w, &h) == 0)
- printf("Size: %.2fx%.2fmm\n", w, h);
+ printf("Size: %.fx%.fmm\n", w, h);
printf("Capabilities: ");
if (libinput_device_has_capability(dev,
LIBINPUT_DEVICE_CAP_KEYBOARD))