fade: Add missing line break for log message.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 3 Oct 2015 21:38:08 +0000 (21:38 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 24 Oct 2015 08:33:13 +0000 (10:33 +0200)
Fixes broken log output which looked like this:

21:33:48 21:33:48 sweet_dreams: waketime: 6:33client_cmd: /usr/local/bin/para_client stop

fade.c

diff --git a/fade.c b/fade.c
index a42d386..e05e317 100644 (file)
--- a/fade.c
+++ b/fade.c
@@ -203,7 +203,7 @@ static int sweet_dreams(struct mixer *m, struct mixer_handle *h)
                tm = localtime(&t1);
        }
        wake_time_epoch = mktime(tm);
-       PARA_INFO_LOG("waketime: %u:%02u", tm->tm_hour, tm->tm_min);
+       PARA_INFO_LOG("waketime: %u:%02u\n", tm->tm_hour, tm->tm_min);
        client_cmd("stop");
        sleep(1);
        if (fot) {