diff options
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 bd07f5d..7758907 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) { |