oops. args shuffled.
authorEric Andersen <andersen@codepoet.org>
Thu, 13 Mar 2003 20:54:26 +0000 (20:54 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 13 Mar 2003 20:54:26 +0000 (20:54 -0000)
miscutils/strings.c

index ace4bed15f5aba57d24a104d7d91697998a81cac..8d08b3f23d79f7079580bf3a7837bcbaa46b6094 100644 (file)
@@ -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();