summaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/strings.c b/miscutils/strings.c
index ace4bed..8d08b3f 100644
--- a/miscutils/strings.c
+++ b/miscutils/strings.c
@@ -54,7 +54,7 @@ int strings_main(int argc, char **argv)
opt+=2;
break;
case 'n':
- n = bb_xgetlarg(optarg, 1, LONG_MAX, 10);
+ n = bb_xgetlarg(optarg, 10, 1, LONG_MAX);
break;
default:
show_usage();