]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - fade.c
Sort errors alphabetically.
[paraslash.git] / fade.c
diff --git a/fade.c b/fade.c
index 543a666dd0e32fbf106d263d3cf96e1bb11ce136..2ade4710b11c2e56972cb9c86c8cfd9a95a9f64e 100644 (file)
--- a/fade.c
+++ b/fade.c
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1998-2014 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 1998 Andre Noll <maan@tuebingen.mpg.de>
  *
  * 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) {