diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-12-05 14:17:27 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-12-05 14:17:27 +1000 |
commit | 9923b06e71a72e4577148644adeaf72eb3577632 (patch) | |
tree | 670046af98b30627624cb5d73476902e6d7693f8 | |
parent | 6ce23c6d79671216bc957a4b12d7d0efef636e1d (diff) |
tools: zero-pad PID/VID in the dpi tool
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | tools/mouse-dpi-tool.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mouse-dpi-tool.c b/tools/mouse-dpi-tool.c index d9c96c8..2bbaca5 100644 --- a/tools/mouse-dpi-tool.c +++ b/tools/mouse-dpi-tool.c @@ -248,7 +248,7 @@ main (int argc, char **argv) { printf("\n"); printf("Entry for hwdb match (replace XXX with the resolution in DPI):\n" - "mouse:%s:v%4xp%4x:name:%s:\n" + "mouse:%s:v%04xp%04x:name:%s:\n" " MOUSE_DPI=XXX@%d\n", bustype(libevdev_get_id_bustype(dev)), libevdev_get_id_vendor(dev), |