summaryrefslogtreecommitdiff
path: root/coreutils/nice.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/nice.c')
-rw-r--r--coreutils/nice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/nice.c b/coreutils/nice.c
index 4c54ddd..a347001 100644
--- a/coreutils/nice.c
+++ b/coreutils/nice.c
@@ -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;
}