Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2019 09:35:06 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r351844 - stable/12/usr.bin/usbhidctl
Message-ID:  <201909050935.x859Z6L2028607@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Thu Sep  5 09:35:06 2019
New Revision: 351844
URL: https://svnweb.freebsd.org/changeset/base/351844

Log:
  MFC r351167:
  Include item position in report descriptor dump in usbhidctl(1).
  
  Submitted by:	Kevin Zheng <kevinz5000@gmail.com>
  PR:		239918

Modified:
  stable/12/usr.bin/usbhidctl/usbhid.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/usr.bin/usbhidctl/usbhid.c
==============================================================================
--- stable/12/usr.bin/usbhidctl/usbhid.c	Thu Sep  5 09:33:48 2019	(r351843)
+++ stable/12/usr.bin/usbhidctl/usbhid.c	Thu Sep  5 09:35:06 2019	(r351844)
@@ -202,8 +202,8 @@ dumpitem(const char *label, struct hid_item *h)
 {
 	if ((h->flags & HIO_CONST) && !verbose)
 		return;
-	printf("%s rid=%d size=%d count=%d page=%s usage=%s%s%s", label,
-	       h->report_ID, h->report_size, h->report_count,
+	printf("%s rid=%d pos=%d size=%d count=%d page=%s usage=%s%s%s", label,
+	       h->report_ID, h->pos, h->report_size, h->report_count,
 	       hid_usage_page(HID_PAGE(h->usage)),
 	       hid_usage_in_page(h->usage),
 	       h->flags & HIO_CONST ? " Const" : "",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909050935.x859Z6L2028607>