diff options
-rw-r--r-- | arch/x86/machine/asm.h | 2 | ||||
-rw-r--r-- | kern/rdxtree.c | 2 | ||||
-rw-r--r-- | vm/vm_kmem.h | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/x86/machine/asm.h b/arch/x86/machine/asm.h index 6118bb8a..a86fa1f7 100644 --- a/arch/x86/machine/asm.h +++ b/arch/x86/machine/asm.h @@ -19,7 +19,7 @@ #define _X86_ASM_H #ifndef __ASSEMBLER__ -#warning "asm.h included from a C file" +#error asm.h included from a C file #endif /* __ASSEMBLER__ */ #include <machine/param.h> diff --git a/kern/rdxtree.c b/kern/rdxtree.c index 788f3ba8..87fbcfdc 100644 --- a/kern/rdxtree.c +++ b/kern/rdxtree.c @@ -49,7 +49,7 @@ typedef unsigned long rdxtree_bm_t; typedef unsigned long long rdxtree_bm_t; #define rdxtree_ffs(x) __builtin_ffsll(x) #else /* RDXTREE_RADIX < 6 */ -#error "radix too high" +#error radix too high #endif /* RDXTREE_RADIX < 6 */ /* diff --git a/vm/vm_kmem.h b/vm/vm_kmem.h index c4b5295c..615ff59a 100644 --- a/vm/vm_kmem.h +++ b/vm/vm_kmem.h @@ -27,7 +27,7 @@ * report allocation errors. */ #if VM_MIN_KMEM_ADDRESS == 0 -#error "kernel space must not start at address 0" +#error kernel space must not start at address 0 #endif /* VM_MIN_KMEM_ADDRESS == 0 */ /* |