diff options
Diffstat (limited to 'src/exec.c')
-rw-r--r-- | src/exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -234,7 +234,7 @@ static char *bfs_exec_format_arg(char *arg, const char *path) { char *last = arg; do { - if (dstrncat(&ret, last, match - last) != 0) { + if (dstrxcat(&ret, last, match - last) != 0) { goto err; } if (dstrcat(&ret, path) != 0) { |