diff options
-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) | |||
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; |
@@ -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; |