[PATCH evemu 2/2] evemu-record.c: Add missing newling to error message
Peter Hutterer
peter.hutterer at who-t.net
Sun Sep 17 00:12:02 UTC 2017
On Fri, Sep 15, 2017 at 11:02:21AM +0200, Martin Kepplinger wrote:
> In case the output file cannot be opened, the message is the only thing
> that gets printed and really should contain a newline in order to have
> a sane commandline prompt, for example.
>
> Signed-off-by: Martin Kepplinger <martink at posteo.de>
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 54c7f92..998f63d 100644
> --- a/tools/evemu-record.c
> +++ b/tools/evemu-record.c
> @@ -324,7 +324,7 @@ int main(int argc, char *argv[])
> if (prefix) {
> output = fopen(argv[optind++], "w");
> if (!output) {
> - fprintf(stderr, "error: could not open output file (%m)");
> + fprintf(stderr, "error: could not open output file (%m)\n");
> goto out;
> }
> }
> --
> 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