exported spinlocks
[tpg/acess2.git] / Kernel / arch / x86_64 / errors.c
index c73ac0f..9f1d290 100644 (file)
@@ -67,8 +67,9 @@ void Error_Handler(tRegs *Regs)
        {
        case 6: // #UD
                Warning(" Offending bytes: %02x %02x %02x %02x",
-                       *(Uint8*)Regs->RIP+0, *(Uint8*)Regs->RIP+1,
-                       *(Uint8*)Regs->RIP+2, *(Uint8*)Regs->RIP+3);
+                       *(Uint8*)(Regs->RIP+0), *(Uint8*)(Regs->RIP+1),
+                       *(Uint8*)(Regs->RIP+2), *(Uint8*)(Regs->RIP+3)
+                       );
                break;
        }
        

UCC git Repository :: git.ucc.asn.au