diff options
author | Dingyan Li <18500469033@163.com> | 2023-03-11 22:02:06 +0800 |
---|---|---|
committer | Dingyan Li <18500469033@163.com> | 2023-03-11 22:02:06 +0800 |
commit | 4a677f085bb7b594287f9b7d598bba6c6c341fab (patch) | |
tree | 93a13f673761e94bc4d58d62c474de8ba9822ae2 | |
parent | 5d7d3d14b660ef453e657dc661a380649e6f0f7d (diff) | |
download | usbutils-4a677f085bb7b594287f9b7d598bba6c6c341fab.tar.gz |
Fix misalignments in hid device descripptor.
Extra spaces should be added when printing below lines:
'Report Descriptors:
** UNAVAILABLE **'
Signed-off-by: Dingyan Li <18500469033@163.com>
-rw-r--r-- | lsusb.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2463,8 +2463,8 @@ static void dump_hid_device(libusb_device_handle *dev, return; if (!dev) { - printf(" Report Descriptors: \n" - " ** UNAVAILABLE **\n"); + printf(" Report Descriptors: \n" + " ** UNAVAILABLE **\n"); return; } @@ -2503,8 +2503,8 @@ static void dump_hid_device(libusb_device_handle *dev, /* recent Linuxes require claim() for RECIP_INTERFACE, * so "rmmod hid" will often make these available. */ - printf(" Report Descriptors: \n" - " ** UNAVAILABLE **\n"); + printf(" Report Descriptors: \n" + " ** UNAVAILABLE **\n"); } } } |