From 3795266841393c9d1cd34c62ccaecded6d7c3dfb Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 27 Feb 2014 15:02:36 +0100 Subject: xargs: fix compilation breakage Signed-off-by: Denys Vlasenko --- findutils/xargs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'findutils/xargs.c') 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 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++; -- cgit v1.2.3