From 6f3240abf946d99116a633d20d26ad2d681dbaed Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 23 Mar 2001 17:11:22 +0000 Subject: xstrdup xargs cleanup from Jeff Garzik --- 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