[PATCH xserver 08/12] Xi: use __func__ instead of function name.

Peter Hutterer peter.hutterer at who-t.net
Thu Jun 2 00:13:42 PDT 2011


Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
 Xi/exevents.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Xi/exevents.c b/Xi/exevents.c
index c6f9d46..3b0411d 100644
--- a/Xi/exevents.c
+++ b/Xi/exevents.c
@@ -890,8 +890,8 @@ ProcessRawEvent(RawDeviceEvent *ev, DeviceIntPtr device)
         i = EventToXI2((InternalEvent*)ev, (xEvent**)&xi);
         if (i != Success)
         {
-            ErrorF("[Xi] %s: XI2 conversion failed in ProcessRawEvent (%d)\n",
-                    device->name, i);
+            ErrorF("[Xi] %s: XI2 conversion failed in %s (%d)\n",
+                    __func__, device->name, i);
             return;
         }
 
-- 
1.7.5.1



More information about the xorg-devel mailing list