summaryrefslogtreecommitdiff
path: root/findutils/xargs.c
diff options
context:
space:
mode:
authorEric Andersen2001-03-23 17:11:22 +0000
committerEric Andersen2001-03-23 17:11:22 +0000
commit6f3240abf946d99116a633d20d26ad2d681dbaed (patch)
tree012c183f3ed1ba8cb04f65d72851e820c9e8f140 /findutils/xargs.c
parent6b2c23d847a0942e6dcc5735a5a5512ab1432d28 (diff)
downloadbusybox-6f3240abf946d99116a633d20d26ad2d681dbaed.zip
busybox-6f3240abf946d99116a633d20d26ad2d681dbaed.tar.gz
xstrdup xargs cleanup from Jeff Garzik
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 01aa5be..48adae9 100644
--- a/findutils/xargs.c
+++ b/findutils/xargs.c
@@ -45,7 +45,7 @@ int xargs_main(int argc, char **argv)
/* Store the command to be executed (taken from the command line) */
if (argc == 1) {
/* default behavior is to echo all the filenames */
- cmd_to_be_executed = strdup("/bin/echo ");
+ cmd_to_be_executed = xstrdup("/bin/echo ");
} else {
/* concatenate all the arguments passed to xargs together */
int i;