]> git.itanic.dy.fi Git - log-plotter/commitdiff
main.c: Add missing endline to debug print
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Thu, 16 Jan 2014 20:14:31 +0000 (22:14 +0200)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Thu, 16 Jan 2014 20:14:31 +0000 (22:14 +0200)
Avoid cluttering the debug output with unterminated lines..

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
main.c

diff --git a/main.c b/main.c
index a730cab1bee10559b9c63626b54ab20396ca85b8..f8272e665b84d71d700c9b859cf6adeaf9bac9ac 100644 (file)
--- a/main.c
+++ b/main.c
@@ -43,7 +43,7 @@ int main(int argc, char *argv[])
 
                if (plotter_state.old_system_status !=
                        plotter_state.system_status) {
-                       pr_debug("Status changing from %s to %s",
+                       pr_debug("Status changing from %s to %s\n",
                                state_to_str(plotter_state.old_system_status),
                                state_to_str(plotter_state.system_status));