summaryrefslogtreecommitdiff
path: root/driver/xf86-input-ws/src
diff options
context:
space:
mode:
authorAlexandr Shadchin <shadchin@cvs.openbsd.org>2012-06-12 17:06:44 +0000
committerAlexandr Shadchin <shadchin@cvs.openbsd.org>2012-06-12 17:06:44 +0000
commite227718749d94b39e416c11c187ce6db79fbc09d (patch)
tree41cad86822a5b6fe58c24f2c4002e4dc1a462589 /driver/xf86-input-ws/src
parent339a658cac80f1047338122dafb05ae3917ab9ea (diff)
Use xf86IDrvMsg in emumb.c instead of ErrorF
ok matthieu@
Diffstat (limited to 'driver/xf86-input-ws/src')
-rw-r--r--driver/xf86-input-ws/src/emumb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/driver/xf86-input-ws/src/emumb.c b/driver/xf86-input-ws/src/emumb.c
index 5c14913d1..d77af59a6 100644
--- a/driver/xf86-input-ws/src/emumb.c
+++ b/driver/xf86-input-ws/src/emumb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emumb.c,v 1.9 2011/11/19 13:09:16 shadchin Exp $ */
+/* $OpenBSD: emumb.c,v 1.10 2012/06/12 17:06:43 shadchin Exp $ */
/*
* Copyright 1990,91 by Thomas Roell, Dinkelscherben, Germany.
* Copyright 1993 by David Dawes <dawes@xfree86.org>
@@ -206,7 +206,8 @@ wsmbEmuTimer(InputInfoPtr pInfo)
priv->emulateMB.state =
stateTab[priv->emulateMB.state][4][2];
} else {
- ErrorF("Got unexpected buttonTimer in state %d\n",
+ xf86IDrvMsg(pInfo, X_ERROR,
+ "Got unexpected buttonTimer in state %d\n",
priv->emulateMB.state);
}