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