aboutsummaryrefslogtreecommitdiff
path: root/coreutils/nice.c
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-26 23:21:47 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-10-26 23:21:47 +0000
commit6dc3a21627db11fa0f374afe29a6bbf4f89c8b64 (patch)
tree79166b700c497fbe798b6031e5bbff97e0933573 /coreutils/nice.c
parent076d919b597733c0adf653d0ad10073be4adec7f (diff)
downloadbusybox-w32-6dc3a21627db11fa0f374afe29a6bbf4f89c8b64.tar.gz
busybox-w32-6dc3a21627db11fa0f374afe29a6bbf4f89c8b64.tar.bz2
busybox-w32-6dc3a21627db11fa0f374afe29a6bbf4f89c8b64.zip
remove bb_printf and the like
git-svn-id: svn://busybox.net/trunk/busybox@16446 69ca8d6d-28ef-0310-b511-8ec308f3f277
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. */