mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-20 08:00:09 +01:00
doc: fix initialization and setup error
Remove an unnecessary and unmatched curly bracket from the demo code. Signed-off-by: José Expósito <jose.exposito89@gmail.com>
This commit is contained in:
parent
8a4f45df5b
commit
889fc01c81
1 changed files with 1 additions and 1 deletions
|
|
@ -634,7 +634,7 @@ extern "C" {
|
|||
* return ENOMEM;
|
||||
*
|
||||
* err = libevdev_set_fd(dev, fd);
|
||||
* if (err < 0) {
|
||||
* if (err < 0)
|
||||
* printf("Failed (errno %d): %s\n", -err, strerror(-err));
|
||||
*
|
||||
* libevdev_free(dev);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue