From: Ping C. <pin...@gm...> - 2010-03-25 03:16:46
|
Acked-by: Ping Cheng <pi...@wa...> You guys always give me something new to learn/remember :). Ping On Wed, Mar 24, 2010 at 6:34 PM, Peter Hutterer <pet...@wh...> wrote: > Introduced with 09e01eda07de "Call wcmRotateCoordinates only when we get > real motion events". > > wcmCommon.c: In function ‘wcmSoftOutEvent’: > wcmCommon.c:1646: error: invalid use of void expression > > This patch also changes the message to the usual DBG format (the DBG macro > will fill in the device name and the function name automatically). > > CC: Ping Cheng <pin...@gm...> > Signed-off-by: Peter Hutterer <pet...@wh...> > --- > src/wcmCommon.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/wcmCommon.c b/src/wcmCommon.c > index 664d8e5..3f6ea51 100644 > --- a/src/wcmCommon.c > +++ b/src/wcmCommon.c > @@ -1643,7 +1643,7 @@ static void wcmSoftOutEvent(LocalDevicePtr local) > > out.device_type = DEVICE_ID(priv->flags); > out.device_id = wcmGetPhyDeviceID(priv); > - DBG(2, priv->common, ErrorF("Send a soft prox-out for %s \n", local->name)); > + DBG(2, priv->common, "send a soft prox-out\n"); > wcmSendEvents(local, &out); > } > > -- > 1.6.6.1 > > |