attempt to regularize atoi mess.
[platform/upstream/busybox.git] / coreutils / nice.c
index 4c54ddd..a347001 100644 (file)
@@ -52,7 +52,7 @@ int nice_main(int argc, char **argv)
                if (argc < 4) {                 /* Missing priority and/or utility! */
                        bb_show_usage();
                }
-               adjustment = bb_xgetlarg(argv[1], 10, INT_MIN, INT_MAX);
+               adjustment = xatoi(argv[1]);
                argv += 2;
        }