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

walter harms wharms at bfs.de
Thu Jun 7 02:27:41 PDT 2012


I guess the message should read ?!

"replacing ErrorF() with xf86IDrvMsg() to make ErrorF obsolete"

re,
 wh

Am 07.06.2012 03:36, schrieb Peter Hutterer:
> 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);


More information about the xorg-devel mailing list