From ef117f0a1f18d9b4c9eb4a0d11861c54f6cdffd7 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Tue, 15 Sep 2020 11:59:13 +0200 Subject: [PATCH] Typo in calculation message --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index ef01c7a..5a48897 100644 --- a/main.c +++ b/main.c @@ -224,7 +224,7 @@ static void recalc_stops(struct context *ctx, time_t now) { struct tm sunrise, sunset; localtime_r(&ctx->start_time, &sunrise); localtime_r(&ctx->stop_time, &sunset); - fprintf(stderr, "cacluated new sun trajectory: sunrise %02d:%02d, sunset %02d:%02d\n", + fprintf(stderr, "calculated new sun trajectory: sunrise %02d:%02d, sunset %02d:%02d\n", sunrise.tm_hour, sunrise.tm_min, sunset.tm_hour, sunset.tm_min); }