aboutsummaryrefslogtreecommitdiff
path: root/cfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'cfg.c')
-rw-r--r--cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg.c b/cfg.c
index 0476222a..7acc08bd 100644
--- a/cfg.c
+++ b/cfg.c
@@ -105,7 +105,7 @@ load_cfg(const char *path, struct cmd_ctx *ctx, struct causelist *causes)
/* Trim \n. */
if (buf[len - 1] == '\n')
len--;
- log_debug ("%s: %s", path, buf);
+ log_debug("%s: %.*s", path, (int)len, buf);
/* Current line is the continuation of the previous one. */
if (line != NULL) {