logo

cmd-timer

run command at a specific interval git clone https://anongit.hacktivis.me/git/cmd-timer.git
commit: 0c2059b54b54f6dee1ff77f9ace71c0d9d3e5d2e
parent 064c1783a7009c4331de2dadebad2d89f069898f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 17 Aug 2025 18:29:49 +0200

timer: use `const char*` for timer_errx

Diffstat:

Mtimer.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/timer.c b/timer.c @@ -59,7 +59,7 @@ bad_usage() } static void -timer_errx(int err, char *msg) +timer_errx(int err, const char *msg) { fprintf(stderr, "timer: error: %s: %s\n", msg, strerror(errno)); exit(err);