diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-23 17:11:22 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-23 17:11:22 +0000 |
commit | 6f3240abf946d99116a633d20d26ad2d681dbaed (patch) | |
tree | 012c183f3ed1ba8cb04f65d72851e820c9e8f140 | |
parent | 6b2c23d847a0942e6dcc5735a5a5512ab1432d28 (diff) | |
download | busybox-6f3240abf946d99116a633d20d26ad2d681dbaed.tar.gz |
xstrdup xargs cleanup from Jeff Garzik
-rw-r--r-- | findutils/xargs.c | 2 | ||||
-rw-r--r-- | xargs.c | 2 |
2 files changed, 2 insertions, 2 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) /* 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; @@ -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; |