hal/hald/linux2/probing probe-input.c,1.16,1.17
Danny Kukawka
dkukawka at kemper.freedesktop.org
Wed May 10 06:54:11 PDT 2006
Update of /cvs/hal/hal/hald/linux2/probing
In directory kemper:/tmp/cvs-serv7426/hald/linux2/probing
Modified Files:
probe-input.c
Log Message:
2006-05-10 Danny Kukawka <danny.kukawka at web.de>
* hald/linux2/probing/probe-input.c: (check_abs), (check_key),
(check_rel): replaced fprintf () with dbg ()
Index: probe-input.c
===================================================================
RCS file: /cvs/hal/hal/hald/linux2/probing/probe-input.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- probe-input.c 9 May 2006 20:34:38 -0000 1.16
+++ probe-input.c 10 May 2006 13:54:09 -0000 1.17
@@ -58,17 +58,17 @@
DBusError error;
if (ioctl (fd, EVIOCGBIT(EV_ABS, sizeof (bitmask)), bitmask) < 0) {
- fprintf(stderr, "ioctl EVIOCGBIT failed\n");
+ dbg ("ioctl EVIOCGBIT for EV_ABS failed");
goto out;
}
if (ioctl (fd, EVIOCGBIT(EV_KEY, sizeof (bitmask_touch)), bitmask_touch) < 0) {
- fprintf(stderr, "ioctl EVIOCGBIT failed\n");
+ dbg ("ioctl EVIOCGBIT for EV_KEY failed");
goto out;
}
if (!test_bit(ABS_X, bitmask) || !test_bit(ABS_Y, bitmask)) {
- fprintf (stderr, "missing x or y absolute axes\n");
+ dbg ("missing x or y absolute axes");
goto out;
}
@@ -92,7 +92,7 @@
DBusError error;
if (ioctl (fd, EVIOCGBIT(EV_KEY, sizeof (bitmask)), bitmask) < 0) {
- fprintf(stderr, "ioctl EVIOCGBIT failed\n");
+ dbg ("ioctl EVIOCGBIT for EV_KEY failed");
goto out;
}
@@ -122,12 +122,12 @@
DBusError error;
if (ioctl (fd, EVIOCGBIT(EV_REL, sizeof (bitmask)), bitmask) < 0) {
- fprintf(stderr, "ioctl EVIOCGBIT failed: %m\n");
+ dbg ("ioctl EVIOCGBIT for EV_REL failed");
goto out;
}
if (!test_bit (REL_X, bitmask) || !test_bit (REL_Y, bitmask)) {
- fprintf (stderr, "missing x or y relative axes\n");
+ dbg ("missing x or y relative axes");
goto out;
}
More information about the hal-commit
mailing list