summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorJonathan Davies <jonathan.davies@nutanix.com>2018-11-20 20:48:32 +0300
committerJiri Kosina <jkosina@suse.cz>2018-11-21 02:31:58 +0300
commit31a8b3ee16e3051a0d9abc557ca203e2330621b6 (patch)
treebf318699ba2cf0f6eec840e444b7b92f6ce0e9d9 /samples
parentcc7ed49a7f39deafb33fc58d162a3365344c3458 (diff)
downloadlinux-31a8b3ee16e3051a0d9abc557ca203e2330621b6.tar.xz
HID: samples/hidraw: fix typo in printed message
Signed-off-by: Jonathan Davies <jonathan.davies@nutanix.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'samples')
-rw-r--r--samples/hidraw/hid-example.c2
1 files changed, 1 insertions, 1 deletions
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 */