remove newlines in assert

This commit is contained in:
2026-10-13 23:01:41 +02:00
parent 2a3bc68ba7
commit 56d43a94a9
8 changed files with 16 additions and 16 deletions
+2 -2
View File
@@ -96,9 +96,9 @@ void interrupt_handler(struct arch_context* ctx) {
default:
if (isr < 0x20)
panic("Unhandled exception %lu at %#lx, error: %#lx\n", isr, ctx->rip, ctx->error);
assert(isr - 0x20 < ARRAY_SIZE(arch_cpu->irq_lines), "Unhandled interrupt on ISR %lu\n", isr);
assert(isr - 0x20 < ARRAY_SIZE(arch_cpu->irq_lines), "Unhandled interrupt on ISR %lu", isr);
struct irq_line* line = arch_cpu->irq_lines[isr - 0x20];
assert(line, "Unhandled interrupt on ISR %lu\n", isr);
assert(line, "Unhandled interrupt on ISR %lu", isr);
irq_line_raise(line);
}
}