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_xcall.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_xcall.c')
-rw-r--r-- | test/test_xcall.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_xcall.c b/test/test_xcall.c index ab4fa113..3552944a 100644 --- a/test/test_xcall.c +++ b/test/test_xcall.c @@ -25,7 +25,7 @@ #include <kern/error.h> #include <kern/cpumap.h> #include <kern/panic.h> -#include <kern/printk.h> +#include <kern/printf.h> #include <kern/thread.h> #include <kern/xcall.h> #include <test/test.h> @@ -37,7 +37,7 @@ test_fn(void *arg) { (void)arg; - printk("function called, running on cpu%u\n", cpu_id()); + printf("function called, running on cpu%u\n", cpu_id()); test_done = 1; } @@ -46,7 +46,7 @@ test_once(unsigned int cpu) { test_done = 0; - printk("cross-call on cpu%u:\n", cpu); + printf("cross-call on cpu%u:\n", cpu); xcall_call(test_fn, NULL, cpu); if (!test_done) { @@ -61,7 +61,7 @@ test_run(void *arg) test_once(0); test_once(1); - printk("done\n"); + printf("done\n"); } void |