X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=fade.c;h=2ade4710b11c2e56972cb9c86c8cfd9a95a9f64e;hp=7dfcc95487af80e3afbf6aa3326f9c3e3d3bb04d;hb=53d5ac455d0616a5ee8867c986631ed34c177a42;hpb=92f150d622efe2423c610676f9e7b196391df436 diff --git a/fade.c b/fade.c index 7dfcc954..2ade4710 100644 --- a/fade.c +++ b/fade.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1998-2014 Andre Noll + * Copyright (C) 1998 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -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) {