[PATCH evemu 3/4] tools: refer to the man page for the grab warning message

Peter Hutterer peter.hutterer at who-t.net
Tue Dec 3 14:35:12 PST 2013


might as well say that we have the documentation available, rather than
expecting people to google.

Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 tools/evemu-record.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/evemu-record.c b/tools/evemu-record.c
index 5d9cdc6..f12012f 100644
--- a/tools/evemu-record.c
+++ b/tools/evemu-record.c
@@ -145,6 +145,7 @@ int main(int argc, char *argv[])
 #endif
 		if (ioctl(fd, EVIOCGRAB, (void*)1) < 0) {
 			fprintf(stderr, "error: this device is grabbed and I cannot record events\n");
+			fprintf(stderr, "see the evemu-record man page for more information\n");
 			return -1;
 		} else
 			ioctl(fd, EVIOCGRAB, (void*)0);
-- 
1.8.3.1



More information about the Input-tools mailing list