diff options
author | Richard Braun <rbraun@sceen.net> | 2017-04-29 21:52:54 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2017-04-29 21:52:54 +0200 |
commit | d78a948f0a1d8b7b3385944c736d7cffd8ca67a7 (patch) | |
tree | 73f5b4b37b73311d768670f1838688dd4505d47a /test/test_mutex_pi.c | |
parent | 6ba94ce79c8477758dd440d3563ffd4dd88883df (diff) |
kern/printk: rename to printf
The printk functions are close enough to the printf ones to bear the
same names.
Diffstat (limited to 'test/test_mutex_pi.c')
-rw-r--r-- | test/test_mutex_pi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_mutex_pi.c b/test/test_mutex_pi.c index ca03b32b..8f864756 100644 --- a/test/test_mutex_pi.c +++ b/test/test_mutex_pi.c @@ -84,7 +84,7 @@ #include <kern/error.h> #include <kern/mutex.h> #include <kern/panic.h> -#include <kern/printk.h> +#include <kern/printf.h> #include <kern/syscnt.h> #include <kern/thread.h> #include <kern/turnstile.h> @@ -181,7 +181,7 @@ test_for_priority_boosted(unsigned short *highest_priority) } if (real_priority > *highest_priority) { - printk("%c: real priority boosted to %s\n", + printf("%c: real priority boosted to %s\n", test_get_name(), test_thread_from_priority(real_priority)); *highest_priority = real_priority; } @@ -215,7 +215,7 @@ test_for_priority_deboosted(void) static void test_report_progress(unsigned int i) { - printk("%c:%u ", test_get_name(), i); + printf("%c:%u ", test_get_name(), i); } static void @@ -304,7 +304,7 @@ test_manage_b(void *arg) test_consume_cpu(); } - printk("b:%u ", i); + printf("b:%u ", i); syscnt_info("thread_boosts"); } } |