diff options
-rw-r--r-- | findutils/xargs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/xargs.c b/findutils/xargs.c index ed6dbd33e..0ba5b566d 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 | |||
373 | char *arg = G.argv[i]; | 373 | char *arg = G.argv[i]; |
374 | int count = count_strstr(arg, G.repl_str); | 374 | int count = count_strstr(arg, G.repl_str); |
375 | if (count != 0) | 375 | if (count != 0) |
376 | arg = xmalloc_substitute_string(arg, count, G.repl_str, s); | 376 | arg = xmalloc_substitute_string(arg, count, G.repl_str, buf); |
377 | store_param(arg); | 377 | store_param(arg); |
378 | dbg_msg("args[]:'%s'", arg); | 378 | dbg_msg("args[]:'%s'", arg); |
379 | i++; | 379 | i++; |