fade.c: Don't use asctime().
[paraslash.git] / fade.c
diff --git a/fade.c b/fade.c
index 8c488a9..7dfcc95 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: %s", asctime(tm));
+       PARA_INFO_LOG("waketime: %u:%02u", tm->tm_hour, tm->tm_min);
        client_cmd("stop");
        sleep(1);
        if (fot) {