Skip to content

Commit

Permalink
Fix interrupts print format
Browse files Browse the repository at this point in the history
  • Loading branch information
djphoenix committed Nov 18, 2016
1 parent 19c9d95 commit bd39d47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/interrupts.cpp
Expand Up @@ -195,7 +195,7 @@ void Interrupts::print(uint8_t num, intcb_regs *regs, uint32_t code) {
if (regs->rflags & (1 << 11))
rflags_buf[0] = 'O';
printf("\n%s fault %s (cpu=%u, error=0x%x)\n"
"IP=%016lx CS=%04hx SS=%04hx DPL=%hu\n"
"IP=%016lx CS=%04hx SS=%04hx DPL=%hhu\n"
"FL=%016lx [%s]\n"
"SP=%016lx BP=%016lx CR2=%08lx\n"
"SI=%016lx DI=%016lx\n"
Expand Down

0 comments on commit bd39d47

Please sign in to comment.