summaryrefslogtreecommitdiffhomepage
path: root/findutils
diff options
context:
space:
mode:
Diffstat (limited to 'findutils')
-rw-r--r--findutils/xargs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/findutils/xargs.c b/findutils/xargs.c
index 5d64d0c9f..c63518fe5 100644
--- a/findutils/xargs.c
+++ b/findutils/xargs.c
@@ -50,6 +50,7 @@ int xargs_main(int argc, char **argv)
/* concatenate all the arguments passed to xargs together */
int i;
int len = 1; /* for the '\0' */
+ cmd_to_be_executed = xmalloc(80);
for (i = 1; i < argc; i++) {
len += strlen(argv[i]);
len += 1; /* for the space between the args */