[PATCH evemu] Fix warning when using autorestart without output file

Peter Hutterer peter.hutterer at who-t.net
Wed Oct 18 22:49:36 UTC 2017


On Wed, Oct 18, 2017 at 03:45:41PM +0200, Martin Kepplinger wrote:
> The warning in case of a missing output file when using --autorestart
> is talking about --autoresume which doesn't exist. This is confusing so
> fix this.
> 
> Signed-off-by: Martin Kepplinger <martink at posteo.de>

oops. pushed, thanks.

Cheers,
   Peter

> ---
>  tools/evemu-record.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/evemu-record.c b/tools/evemu-record.c
> index 40693ff..64a32ad 100644
> --- a/tools/evemu-record.c
> +++ b/tools/evemu-record.c
> @@ -303,7 +303,7 @@ int main(int argc, char *argv[])
>  
>  	if (optind >= argc) {
>  		if (autorestart) {
> -			fprintf(stderr, "Option --autoresume requires an output file\n");
> +			fprintf(stderr, "Option --autorestart requires an output file\n");
>  			goto out;
>  		}
>  	} else {
> -- 
> 2.11.0
> 
> _______________________________________________
> 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