diff mbox series

HID: samples/hidraw: fix typo in printed message

Message ID 20181120174800.22503-1-jonathan.davies@nutanix.com (mailing list archive)
State Mainlined
Commit 31a8b3ee16e3051a0d9abc557ca203e2330621b6
Delegated to: Jiri Kosina
Headers show
Series HID: samples/hidraw: fix typo in printed message | expand

Commit Message

Jonathan Davies Nov. 20, 2018, 5:48 p.m. UTC
Signed-off-by: Jonathan Davies <jonathan.davies@nutanix.com>
---
 samples/hidraw/hid-example.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jiri Kosina Nov. 20, 2018, 11:32 p.m. UTC | #1
On Tue, 20 Nov 2018, Jonathan Davies wrote:

> Signed-off-by: Jonathan Davies <jonathan.davies@nutanix.com>
> ---
>  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.
diff mbox series

Patch

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 */