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 /arch/x86/machine/trap.h | |
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 'arch/x86/machine/trap.h')
-rw-r--r-- | arch/x86/machine/trap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/machine/trap.h b/arch/x86/machine/trap.h index a9369fd..f38c0c4 100644 --- a/arch/x86/machine/trap.h +++ b/arch/x86/machine/trap.h @@ -70,7 +70,7 @@ #include <stdint.h> #include <kern/macros.h> -#include <kern/printk.h> +#include <kern/printf.h> #ifdef __LP64__ @@ -127,7 +127,7 @@ struct trap_frame { static inline void trap_test_double_fault(void) { - printk("trap: double fault test\n"); + printf("trap: double fault test\n"); asm volatile("movl $0xdead, %esp; push $0"); } |