Don't redundantly include \n in panic messages

This commit is contained in:
Warner Losh 2002-08-12 22:34:12 +00:00
parent 48b68edf14
commit db64ac4457

View File

@ -1193,7 +1193,7 @@ pccard_setup_intr(device_t dev, device_t child, struct resource *irq,
int err;
if (func->intr_handler != NULL)
panic("Only one interrupt handler per function allowed\n");
panic("Only one interrupt handler per function allowed");
err = bus_generic_setup_intr(dev, child, irq, flags, pccard_intr,
func, cookiep);
if (err != 0)