diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-29 11:46:52 +0200 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-29 11:46:52 +0200 |
commit | fb132e47370378474c68ad22c1c0cb2ccee178de (patch) | |
tree | 4f78d0fdd1c2fa2341c7d9bb17f9d98d099a238c /coreutils/nice.c | |
parent | 66cb7bed33da605674c3d24734466b8e8a60e337 (diff) | |
download | busybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.tar.gz busybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.tar.bz2 busybox-w32-fb132e47370378474c68ad22c1c0cb2ccee178de.zip |
whitespace cleanup
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
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 6b8fce24d..35d6bf3d9 100644 --- a/coreutils/nice.c +++ b/coreutils/nice.c | |||
@@ -17,12 +17,12 @@ int nice_main(int argc, char **argv) | |||
17 | 17 | ||
18 | old_priority = getpriority(PRIO_PROCESS, 0); | 18 | old_priority = getpriority(PRIO_PROCESS, 0); |
19 | 19 | ||
20 | if (!*++argv) { /* No args, so (GNU) output current nice value. */ | 20 | if (!*++argv) { /* No args, so (GNU) output current nice value. */ |
21 | printf("%d\n", old_priority); | 21 | printf("%d\n", old_priority); |
22 | fflush_stdout_and_exit(EXIT_SUCCESS); | 22 | fflush_stdout_and_exit(EXIT_SUCCESS); |
23 | } | 23 | } |
24 | 24 | ||
25 | adjustment = 10; /* Set default adjustment. */ | 25 | adjustment = 10; /* Set default adjustment. */ |
26 | 26 | ||
27 | if (argv[0][0] == '-') { | 27 | if (argv[0][0] == '-') { |
28 | if (argv[0][1] == 'n') { /* -n */ | 28 | if (argv[0][1] == 'n') { /* -n */ |
@@ -32,7 +32,7 @@ int nice_main(int argc, char **argv) | |||
32 | } else { /* -NNN (NNN may be negative) == -n NNN */ | 32 | } else { /* -NNN (NNN may be negative) == -n NNN */ |
33 | argv[0] += 1; argv--; argc++; | 33 | argv[0] += 1; argv--; argc++; |
34 | } | 34 | } |
35 | if (argc < 4) { /* Missing priority and/or utility! */ | 35 | if (argc < 4) { /* Missing priority and/or utility! */ |
36 | bb_show_usage(); | 36 | bb_show_usage(); |
37 | } | 37 | } |
38 | adjustment = xatoi_range(argv[1], INT_MIN/2, INT_MAX/2); | 38 | adjustment = xatoi_range(argv[1], INT_MIN/2, INT_MAX/2); |