Xi: use __func__ instead of function name.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Cyril Brulebois <kibi@debian.org>
This commit is contained in:
Peter Hutterer 2011-05-27 12:24:21 +10:00
parent c042a267c4
commit bfd8422e88

View File

@ -890,8 +890,8 @@ ProcessRawEvent(RawDeviceEvent *ev, DeviceIntPtr device)
i = EventToXI2((InternalEvent*)ev, (xEvent**)&xi); i = EventToXI2((InternalEvent*)ev, (xEvent**)&xi);
if (i != Success) if (i != Success)
{ {
ErrorF("[Xi] %s: XI2 conversion failed in ProcessRawEvent (%d)\n", ErrorF("[Xi] %s: XI2 conversion failed in %s (%d)\n",
device->name, i); __func__, device->name, i);
return; return;
} }