diff options
Diffstat (limited to 'coreutils/nice.c')
-rw-r--r-- | coreutils/nice.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/nice.c b/coreutils/nice.c index 6b8fce2..35d6bf3 100644 --- a/coreutils/nice.c +++ b/coreutils/nice.c @@ -17,12 +17,12 @@ int nice_main(int argc, char **argv) old_priority = getpriority(PRIO_PROCESS, 0); - if (!*++argv) { /* No args, so (GNU) output current nice value. */ + if (!*++argv) { /* No args, so (GNU) output current nice value. */ printf("%d\n", old_priority); fflush_stdout_and_exit(EXIT_SUCCESS); } - adjustment = 10; /* Set default adjustment. */ + adjustment = 10; /* Set default adjustment. */ if (argv[0][0] == '-') { if (argv[0][1] == 'n') { /* -n */ @@ -32,7 +32,7 @@ int nice_main(int argc, char **argv) } else { /* -NNN (NNN may be negative) == -n NNN */ argv[0] += 1; argv--; argc++; } - if (argc < 4) { /* Missing priority and/or utility! */ + if (argc < 4) { /* Missing priority and/or utility! */ bb_show_usage(); } adjustment = xatoi_range(argv[1], INT_MIN/2, INT_MAX/2); |