Re: [PATCH] HID: samples/hidraw: fix typo in printed message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 20 Nov 2018, Jonathan Davies wrote:

> Signed-off-by: Jonathan Davies <jonathan.davies@xxxxxxxxxxx>
> ---
>  samples/hidraw/hid-example.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/samples/hidraw/hid-example.c b/samples/hidraw/hid-example.c
> index 9bfd8ff6de82..37a0ffcb4d63 100644
> --- a/samples/hidraw/hid-example.c
> +++ b/samples/hidraw/hid-example.c
> @@ -119,7 +119,7 @@ int main(int argc, char **argv)
>  	if (res < 0)
>  		perror("HIDIOCSFEATURE");
>  	else
> -		printf("ioctl HIDIOCGFEATURE returned: %d\n", res);
> +		printf("ioctl HIDIOCSFEATURE returned: %d\n", res);
>  
>  	/* Get Feature */
>  	buf[0] = 0x9; /* Report Number */

Applied, thank you.

-- 
Jiri Kosina
SUSE Labs




[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux