From 40fe4235b96c45ec032448df350575332aab6c23 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 27 Mar 2014 15:05:36 +1000 Subject: [PATCH] Use log_error instead of fprintf in old touchpad code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Hutterer Reviewed-by: Jonas Ã…dahl --- 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 65c5ea05..1a484419 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);