diff options
author | Rob Landley <rob@landley.net> | 2006-05-29 06:43:55 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-05-29 06:43:55 +0000 |
commit | a6e131dab39ee67522687a56b39ed815b9ae15ec (patch) | |
tree | 1ca2de8c070d79096f6db1a4a614d00a0ef7800d /miscutils/strings.c | |
parent | bba7f08d2788bc9bc30a7a60fdfd873a73fead9a (diff) | |
download | busybox-w32-a6e131dab39ee67522687a56b39ed815b9ae15ec.tar.gz busybox-w32-a6e131dab39ee67522687a56b39ed815b9ae15ec.tar.bz2 busybox-w32-a6e131dab39ee67522687a56b39ed815b9ae15ec.zip |
Size reductions, mostly switching things to use libbb functions.
Diffstat (limited to 'miscutils/strings.c')
-rw-r--r-- | miscutils/strings.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
41 | argv += optind; | 41 | argv += optind; |
42 | 42 | ||
43 | n = bb_xgetlarg(n_arg, 10, 1, INT_MAX); | 43 | n = bb_xgetlarg(n_arg, 10, 1, INT_MAX); |
44 | string = xcalloc(n + 1, 1); | 44 | string = xzalloc(n + 1); |
45 | n--; | 45 | n--; |
46 | 46 | ||
47 | if (argc == 0) { | 47 | if (argc == 0) { |