scron

simple cron daemon
git clone git://git.2f30.org/scron.git
Log | Files | Refs | README | LICENSE

commit de1473037c6aa36801fdc84c26ad912715cd5a1c
parent c4c8426bbcb31717a2a45f96283d89c45024c832
Author: sin <sin@2f30.org>
Date:   Mon Jul  7 09:35:45 +0100

Print strerror(errno) for fopen() failure

Diffstat:
crond.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/crond.c b/crond.c @@ -262,7 +262,7 @@ loadentries(void) ssize_t len; if ((fp = fopen(config, "r")) == NULL) { - logerr("error: can't open %s\n", config); + logerr("error: can't open %s: %s\n", config, strerror(errno)); return -1; }