Changeset 31 for trunk/hal/x86_64/hal_trap.c
- Timestamp:
- Jun 21, 2017, 8:53:24 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/hal_trap.c
r29 r31 47 47 int trap_types = __arraycount(trap_type); 48 48 49 void x86_printf(char * msg); // XXX49 void x86_printf(char *s, ...); 50 50 51 51 /* … … 56 56 { 57 57 uint64_t trapno = tf->tf_trapno; 58 c har *buf;58 const char *buf; 59 59 60 60 if (trapno < trap_types) { … … 66 66 x86_printf("\n"); 67 67 x86_printf("****** FAULT OCCURRED ******\n"); 68 x86_printf( buf);68 x86_printf((char *)buf); 69 69 x86_printf("\n"); 70 70 x86_printf("****** FAULT OCCURRED ******\n");
Note: See TracChangeset
for help on using the changeset viewer.