[PATCH evemu 4/5] Upgrade a fatal error to a fatal error

Daniel Martin consume.noise at gmail.com
Fri Oct 21 07:41:16 UTC 2016


You've got a mistake in the subject, the first "fatal" should be
"warning". With that fixed,
Reviewed-by: Daniel Martin <consume.noise at gmail.com>

On 21 October 2016 at 01:11, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
>  src/evemu.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/evemu.c b/src/evemu.c
> index 295b5d6..1f4444e 100644
> --- a/src/evemu.c
> +++ b/src/evemu.c
> @@ -511,7 +511,7 @@ static int parse_mask(struct evemu_device *dev, const char *line)
>                                 mask + 4, mask + 5, mask + 6, mask + 7);
>
>         if (matched != 9) {
> -               error(WARNING, "Invalid EV_BIT line. Parsed %d numbers, expected 9: %s", matched, line);
> +               error(FATAL, "Invalid EV_BIT line. Parsed %d numbers, expected 9: %s", matched, line);
>                 return -1;
>         }
>
> --
> 2.9.3
>
> _______________________________________________
> Input-tools mailing list
> Input-tools at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/input-tools


More information about the Input-tools mailing list