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

Chase Douglas chase.douglas at canonical.com
Thu Jun 7 07:41:11 PDT 2012


On 06/06/2012 06:36 PM, Peter Hutterer wrote:
> 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);

All the patches in this series look good.

Reviewed-by: Chase Douglas <chase.douglas at canonical.com>


More information about the xorg-devel mailing list