diff options
author | Peter Osterlund <petero2@telia.com> | 2004-03-04 20:16:09 +0100 |
---|---|---|
committer | Peter Osterlund <petero2@telia.com> | 2006-04-09 04:01:52 +0200 |
commit | a30d9b0eda80a401dc440346708d88b7d9b759d5 (patch) | |
tree | ba2968fbf100660f0c64cd1f4336ad0162457610 | |
parent | 3fc26494885f4ca0085c096d7937a42e2c45ac09 (diff) |
When no usable event device node was found, print out how
many nodes were checked.
-rw-r--r-- | synaptics.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/synaptics.c b/synaptics.c index d23373d..8657264 100644 --- a/synaptics.c +++ b/synaptics.c @@ -199,7 +199,8 @@ SetDeviceAndProtocol(LocalDevicePtr local) SYSCALL(fd = open(fname, O_RDONLY)); if (fd < 0) { if (errno == ENOENT) { - ErrorF("%s no synaptics event device found\n", local->name); + ErrorF("%s no synaptics event device found (checked %d nodes)\n", + local->name, i + 1); break; } else { continue; |