summaryrefslogtreecommitdiff
path: root/findutils/xargs.c
diff options
context:
space:
mode:
Diffstat (limited to 'findutils/xargs.c')
-rw-r--r--findutils/xargs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/findutils/xargs.c b/findutils/xargs.c
index 25a7853..9ee5833 100644
--- a/findutils/xargs.c
+++ b/findutils/xargs.c
@@ -454,7 +454,7 @@ int xargs_main(int argc, char **argv)
if (opt & OPT_UPTO_SIZE) {
int i;
size_t n_chars = 0;
- n_max_chars = xatoul_range(max_chars, 1, n_max_chars);
+ n_max_chars = xatoul_range(max_chars, 1, INT_MAX);
for (i = 0; argv[i]; i++) {
n_chars += strlen(argv[i]) + 1;
}