From a6e131dab39ee67522687a56b39ed815b9ae15ec Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 29 May 2006 06:43:55 +0000 Subject: Size reductions, mostly switching things to use libbb functions. --- miscutils/strings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'miscutils') diff --git a/miscutils/strings.c b/miscutils/strings.c index bd07f5d3e..7758907c7 100644 --- a/miscutils/strings.c +++ b/miscutils/strings.c @@ -41,7 +41,7 @@ int strings_main(int argc, char **argv) argv += optind; n = bb_xgetlarg(n_arg, 10, 1, INT_MAX); - string = xcalloc(n + 1, 1); + string = xzalloc(n + 1); n--; if (argc == 0) { -- cgit v1.2.3