aboutsummaryrefslogtreecommitdiff
path: root/coreutils/nice.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/nice.c')
-rw-r--r--coreutils/nice.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/nice.c b/coreutils/nice.c
index dbd90648d..293861842 100644
--- a/coreutils/nice.c
+++ b/coreutils/nice.c
@@ -17,8 +17,8 @@ int nice_main(int argc, char **argv)
17 old_priority = getpriority(PRIO_PROCESS, 0); 17 old_priority = getpriority(PRIO_PROCESS, 0);
18 18
19 if (!*++argv) { /* No args, so (GNU) output current nice value. */ 19 if (!*++argv) { /* No args, so (GNU) output current nice value. */
20 bb_printf("%d\n", old_priority); 20 printf("%d\n", old_priority);
21 bb_fflush_stdout_and_exit(EXIT_SUCCESS); 21 fflush_stdout_and_exit(EXIT_SUCCESS);
22 } 22 }
23 23
24 adjustment = 10; /* Set default adjustment. */ 24 adjustment = 10; /* Set default adjustment. */