projects
/
platform
/
upstream
/
libevdev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61f0a0f
)
Fix minor error in doxygen example code
author
Nathan Baker
<nathanb@lenovo-chrome.com>
Thu, 10 Nov 2016 15:08:11 +0000
(10:08 -0500)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Sun, 13 Nov 2016 21:10:02 +0000
(07:10 +1000)
The incorrect variable was checked as a return code in an example, and
that can be confusing for people trying to learn or use the example code
as a starting point.
libevdev/libevdev-uinput.h
patch
|
blob
|
history
diff --git
a/libevdev/libevdev-uinput.h
b/libevdev/libevdev-uinput.h
index
0cf33a9
..
d6d0072
100644
(file)
--- a/
libevdev/libevdev-uinput.h
+++ b/
libevdev/libevdev-uinput.h
@@
-54,7
+54,7
@@
struct libevdev_uinput;
* return err;
*
* uifd = open("/dev/uinput", O_RDWR);
- * if (ui
dev
< 0)
+ * if (ui
fd
< 0)
* return -errno;
*
* err = libevdev_uinput_create_from_device(dev, uifd, &uidev);