Fix printf style function missing argument to %s

This is very likely the root cause of issue #236, let's see.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2022-04-14 00:10:30 +02:00
1 parent 4c1fc2410e
commit bc2ffbc767
1 file changed
+1 -1
+1 -1
View File
@@ -991,7 +991,7 @@ static void parse_killdelay(svc_t *svc, char *delay)
static void parse_script(char *type, char *script, char *buf, size_t len)
{
if (access(script, X_OK))
logit(LOG_WARNING, "%s: %s:%s is missing or not executable, skipping.", type, script);
logit(LOG_WARNING, "%s:%s is missing or not executable, skipping.", type, script);
else
strlcpy(buf, script, len);
}