summaryrefslogtreecommitdiff
path: root/findutils/xargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'findutils/xargs.c')
-rw-r--r--findutils/xargs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/findutils/xargs.c b/findutils/xargs.c
index 5d64d0c..c63518f 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 */