[PATCH v3 09/16] Log messages in GetTouchEvents() in a signal safe manner

Chase Douglas chase.douglas at canonical.com
Mon Apr 16 11:14:26 PDT 2012


Signed-off-by: Chase Douglas <chase.douglas at canonical.com>
---
 dix/getevents.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dix/getevents.c b/dix/getevents.c
index 23bbe06..773b21d 100644
--- a/dix/getevents.c
+++ b/dix/getevents.c
@@ -1822,8 +1822,8 @@ GetTouchEvents(InternalEvent *events, DeviceIntPtr dev, uint32_t ddx_touchid,
         touchpoint.ti =
             TouchFindByDDXID(dev, ddx_touchid, (type == XI_TouchBegin));
         if (!touchpoint.ti) {
-            ErrorF("[dix] %s: unable to %s touch point %x\n", dev->name,
-                   type == XI_TouchBegin ? "begin" : "find", ddx_touchid);
+            ErrorSigSafe("[dix] %s: unable to %s touch point %u\n", dev->name,
+                         type == XI_TouchBegin ? "begin" : "find", ddx_touchid);
             return 0;
         }
         client_id = touchpoint.ti->client_id;
-- 
1.7.9.1



More information about the xorg-devel mailing list