From b21f84ef1bb9e9ba69bfea069295ad4618f671eb Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 4 Apr 2021 16:47:38 +0200 Subject: SMP: Fix warnings --- device/intr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'device/intr.c') diff --git a/device/intr.c b/device/intr.c index 01a382df..66bc3759 100644 --- a/device/intr.c +++ b/device/intr.c @@ -200,7 +200,7 @@ install_user_intr_handler (struct irqdev *dev, int id, unsigned long flags, /* Don't allow overriding hardclock/kdintr etc */ if ((ivect[irq] != user_irq_handler) && (ivect[irq] != intnull)) { - mach_print("You can't have this interrupt\n"); + printf("You can't have this interrupt\n"); return D_ALREADY_OPEN; } @@ -208,7 +208,7 @@ install_user_intr_handler (struct irqdev *dev, int id, unsigned long flags, { if (!(old->flags & flags & SA_SHIRQ)) { - mach_print ("Cannot share irq\n"); + printf ("Cannot share irq\n"); return D_ALREADY_OPEN; } } -- cgit v1.2.3