From e227718749d94b39e416c11c187ce6db79fbc09d Mon Sep 17 00:00:00 2001 From: Alexandr Shadchin Date: Tue, 12 Jun 2012 17:06:44 +0000 Subject: Use xf86IDrvMsg in emumb.c instead of ErrorF ok matthieu@ --- driver/xf86-input-ws/src/emumb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'driver/xf86-input-ws/src/emumb.c') 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 @@ -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); } -- cgit v1.2.3