X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=fade.c;h=2ade4710b11c2e56972cb9c86c8cfd9a95a9f64e;hp=543a666dd0e32fbf106d263d3cf96e1bb11ce136;hb=53d5ac455d0616a5ee8867c986631ed34c177a42;hpb=56df9bb38aa4725f9244a7898d765608d8a1fffa diff --git a/fade.c b/fade.c index 543a666d..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: %s", asctime(tm)); + PARA_INFO_LOG("waketime: %u:%02u\n", tm->tm_hour, tm->tm_min); client_cmd("stop"); sleep(1); if (fot) {