summaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorJonathan Davies <jonathan.davies@nutanix.com>2018-11-20 18:48:32 +0100
committerJiri Kosina <jkosina@suse.cz>2018-11-21 00:31:58 +0100
commit31a8b3ee16e3051a0d9abc557ca203e2330621b6 (patch)
treebf318699ba2cf0f6eec840e444b7b92f6ce0e9d9 /samples
parentHID: hidraw: enforce minors_lock locking via lockdep (diff)
downloadlinux-31a8b3ee16e3051a0d9abc557ca203e2330621b6.tar.xz
linux-31a8b3ee16e3051a0d9abc557ca203e2330621b6.zip
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 */