[PATCH libinput 1/9] Use log_error instead of fprintf in old touchpad code

Peter Hutterer peter.hutterer at who-t.net
Thu Mar 27 21:38:44 PDT 2014


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 src/evdev-touchpad.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/evdev-touchpad.c b/src/evdev-touchpad.c
index 65c5ea0..1a48441 100644
--- a/src/evdev-touchpad.c
+++ b/src/evdev-touchpad.c
@@ -454,7 +454,7 @@ fsm_timeout_handler(void *data)
 		/* This will only happen if the application made the fd
 		 * non-blocking, but this function should only be called
 		 * upon the timeout, so lets continue anyway. */
-		fprintf(stderr, "timerfd read error: %m\n");
+		log_error("timerfd read error: %m\n");
 
 	if (touchpad->fsm.events_count == 0) {
 		clock_gettime(CLOCK_MONOTONIC, &ts);
-- 
1.8.5.3



More information about the wayland-devel mailing list