From fb56d97c1503c0874ba2b328853d962b61c41e78 Mon Sep 17 00:00:00 2001 From: Thibault Godouet Date: Fri, 27 Dec 2024 16:10:57 +0000 Subject: [PATCH] Fix variable type. --- fcronsighup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fcronsighup.c b/fcronsighup.c index 89eabb0..7621cec 100644 --- a/fcronsighup.c +++ b/fcronsighup.c @@ -98,7 +98,7 @@ sig_daemon(void) if (max_delay_s > 0) { time_t now_epoch = 0; int delay_s = 0; - time_t *target_time_epoch = NULL; + time_t target_time_epoch = 0; struct tm *target_time_tm = NULL; FILE *fp = NULL; int fd = 0;