aboutsummaryrefslogtreecommitdiff
path: root/xargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'xargs.c')
-rw-r--r--xargs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xargs.c b/xargs.c
index 01aa5be69..48adae90a 100644
--- a/xargs.c
+++ b/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;