summaryrefslogtreecommitdiff
path: root/findutils/xargs.c
diff options
context:
space:
mode:
authorDenys Vlasenko2014-02-27 15:02:36 +0100
committerDenys Vlasenko2014-02-27 15:02:36 +0100
commit3795266841393c9d1cd34c62ccaecded6d7c3dfb (patch)
tree9d995a5442fe83acd231c638caeedb065276917e /findutils/xargs.c
parent83e49ade5724f5b3744660e45179461fe2a1b0f8 (diff)
downloadbusybox-3795266841393c9d1cd34c62ccaecded6d7c3dfb.zip
busybox-3795266841393c9d1cd34c62ccaecded6d7c3dfb.tar.gz
xargs: fix compilation breakage
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'findutils/xargs.c')
-rw-r--r--findutils/xargs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/xargs.c b/findutils/xargs.c
index ed6dbd3..0ba5b56 100644
--- a/findutils/xargs.c
+++ b/findutils/xargs.c
@@ -373,7 +373,7 @@ static char* FAST_FUNC process_stdin_with_replace(int n_max_chars, int n_max_arg
char *arg = G.argv[i];
int count = count_strstr(arg, G.repl_str);
if (count != 0)
- arg = xmalloc_substitute_string(arg, count, G.repl_str, s);
+ arg = xmalloc_substitute_string(arg, count, G.repl_str, buf);
store_param(arg);
dbg_msg("args[]:'%s'", arg);
i++;