X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=fade.c;h=2ade4710b11c2e56972cb9c86c8cfd9a95a9f64e;hp=a42d386d3a3441bacc7a8266544d346b4daeed2b;hb=53d5ac455d0616a5ee8867c986631ed34c177a42;hpb=e9b00a14a4653d767a9d0fe885aa0b6d56c42180 diff --git a/fade.c b/fade.c index a42d386d..2ade4710 100644 --- a/fade.c +++ b/fade.c @@ -17,7 +17,9 @@ #include "ggo.h" #include "version.h" -INIT_FADE_ERRLISTS; +/** Array of error strings. */ +DEFINE_PARA_ERRLIST; + static struct fade_args_info conf; enum mixer_id {MIXER_ENUM}; @@ -203,7 +205,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) {