From 004d935ebc9d4794fe8166f2b012f9e202453f2f Mon Sep 17 00:00:00 2001 From: andersen Date: Fri, 23 Mar 2001 17:11:22 +0000 Subject: xstrdup xargs cleanup from Jeff Garzik git-svn-id: svn://busybox.net/trunk/busybox@2194 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- findutils/xargs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'findutils/xargs.c') 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; -- cgit v1.2.3-55-g6feb