commit | 6f3240abf946d99116a633d20d26ad2d681dbaed | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Fri Mar 23 17:11:22 2001 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Fri Mar 23 17:11:22 2001 +0000 |
tree | 012c183f3ed1ba8cb04f65d72851e820c9e8f140 | |
parent | 6b2c23d847a0942e6dcc5735a5a5512ab1432d28 [diff] |
xstrdup xargs cleanup from Jeff Garzik
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 @@ /* 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;