]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 a42d386d3a3441bacc7a8266544d346b4daeed2b..e05e31733623dacae4beddad69580d077ad23a0d 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) {