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:
José Expósito 2021-09-04 13:30:17 +02:00
parent 8a4f45df5b
commit 889fc01c81

View file

@ -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);