diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-23 17:11:22 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-23 17:11:22 +0000 |
commit | 004d935ebc9d4794fe8166f2b012f9e202453f2f (patch) | |
tree | 012c183f3ed1ba8cb04f65d72851e820c9e8f140 /findutils/xargs.c | |
parent | c14a666719795d76e7a98394f64fecb6cfc7bc09 (diff) | |
download | busybox-w32-004d935ebc9d4794fe8166f2b012f9e202453f2f.tar.gz busybox-w32-004d935ebc9d4794fe8166f2b012f9e202453f2f.tar.bz2 busybox-w32-004d935ebc9d4794fe8166f2b012f9e202453f2f.zip |
xstrdup xargs cleanup from Jeff Garzik
git-svn-id: svn://busybox.net/trunk/busybox@2194 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'findutils/xargs.c')
-rw-r--r-- | findutils/xargs.c | 2 |
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; |