projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
attempt to regularize atoi mess.
[platform/upstream/busybox.git]
/
coreutils
/
nice.c
diff --git
a/coreutils/nice.c
b/coreutils/nice.c
index
4c54ddd
..
a347001
100644
(file)
--- 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;
}