diff options
author | Martin Kepplinger <martink@posteo.de> | 2017-09-15 11:02:21 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2017-09-17 10:11:23 +1000 |
commit | c776b8cc548cb3afc71b5a27d582688a716f9cb7 (patch) | |
tree | 8b6a52f6c4c0f252c7d1f327ead1d028e0bb45e5 | |
parent | fe6f38a4eb3b5cf5a8af1476731c9d0fbb5108d2 (diff) |
evemu-record.c: Add missing newline to error message
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@posteo.de>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | tools/evemu-record.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/evemu-record.c b/tools/evemu-record.c index 0eaa31d..544e015 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; } } |