aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index 64caa4ab..aeea91b5 100644
--- a/config.c
+++ b/config.c
@@ -752,7 +752,7 @@ parse_section_key_bindings(
}
pipe_len = pipe_cmd_end - value - 1;
- pipe_cmd = strndup(&value[1], pipe_len);
+ pipe_cmd = xstrndup(&value[1], pipe_len);
if (!tokenize_cmdline(pipe_cmd, &pipe_argv)) {
LOG_AND_NOTIFY_ERR("%s:%d: syntax error in command line", path, lineno);