Better printf
This commit is contained in:
parent
1978cefab3
commit
cae2289d99
2 changed files with 3 additions and 3 deletions
|
|
@ -107,11 +107,11 @@ int dev_evdev_open(
|
|||
}
|
||||
|
||||
if (libevdev_new_from_fd(fd, &out_evdev) != 0) {
|
||||
fprintf(stderr, "Cannot initialize libevdev from this device (%s): skipping.\n", path);
|
||||
fprintf(stderr, "Cannot initialize libevdev from this device (%s) -- Skipping.\n", path);
|
||||
close(fd);
|
||||
continue;
|
||||
} else {
|
||||
printf("Acquired evdev device %d", fd);
|
||||
printf("Acquired evdev device %s: fd=%d", path, fd);
|
||||
}
|
||||
|
||||
// try to open the device
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue