]> git.itanic.dy.fi Git - log-plotter/commitdiff
baud: Add missing newline to error print
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sun, 6 Oct 2013 13:42:07 +0000 (16:42 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Sun, 6 Oct 2013 13:42:07 +0000 (16:42 +0300)
Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
baud.c

diff --git a/baud.c b/baud.c
index be2194eecc6218db748191a5d3aafd418ea40438..834974e35fd0750091486c9b446517b612eafb99 100644 (file)
--- a/baud.c
+++ b/baud.c
@@ -33,7 +33,7 @@ int open_at_baud(const char *device, int *baud)
        fd = open(device, O_RDWR | O_NOCTTY | O_NDELAY);
 
        if (fd == -1) {
-               fprintf(stderr, "error opening %s: %m", device);
+               fprintf(stderr, "error opening %s: %m\n",       device);
                return fd;
        }