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 |
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 --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 */
Signed-off-by: Jonathan Davies <jonathan.davies@nutanix.com> --- samples/hidraw/hid-example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)