[PATCH evdev 1/6] Use xf86IDrvMsg in emuMB.c instead of ErrorF

Peter Hutterer peter.hutterer at who-t.net
Wed Jun 6 18:36:55 PDT 2012


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

diff --git a/src/emuMB.c b/src/emuMB.c
index eb01495..b25eac8 100644
--- a/src/emuMB.c
+++ b/src/emuMB.c
@@ -196,8 +196,8 @@ EvdevMBEmuTimer(InputInfoPtr pInfo)
         pEvdev->emulateMB.state =
             stateTab[pEvdev->emulateMB.state][4][2];
     } else {
-        ErrorF("Got unexpected buttonTimer in state %d\n",
-                pEvdev->emulateMB.state);
+        xf86IDrvMsg(pInfo, X_ERROR, "Got unexpected buttonTimer in state %d\n",
+                    pEvdev->emulateMB.state);
     }
 
     xf86UnblockSIGIO (sigstate);
-- 
1.7.10.2



More information about the xorg-devel mailing list