diff options
| author | 2010-08-07 03:50:01 +0000 | |
|---|---|---|
| committer | 2010-08-07 03:50:01 +0000 | |
| commit | 859d5ed4e977cc7c386c854ab9a07632d5d7da87 (patch) | |
| tree | bfb0ed2186cfbc7541ca46a828611ffa7152a02d /sys/arch/beagle/dev/omgpio.c | |
| parent | No "\n" needed at the end of panic() strings. (diff) | |
| download | wireguard-openbsd-859d5ed4e977cc7c386c854ab9a07632d5d7da87.tar.xz wireguard-openbsd-859d5ed4e977cc7c386c854ab9a07632d5d7da87.zip | |
No "\n" needed at the end of panic() strings.
Bogus chunks pointed out by matthew@ and miod@. No cookies for
marco@ and jasper@.
ok deraadt@ miod@ matthew@ jasper@ macro@
Diffstat (limited to 'sys/arch/beagle/dev/omgpio.c')
| -rw-r--r-- | sys/arch/beagle/dev/omgpio.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/beagle/dev/omgpio.c b/sys/arch/beagle/dev/omgpio.c index ec148fadb3c..40e6e25353c 100644 --- a/sys/arch/beagle/dev/omgpio.c +++ b/sys/arch/beagle/dev/omgpio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: omgpio.c,v 1.2 2010/05/09 15:46:17 jasper Exp $ */ +/* $OpenBSD: omgpio.c,v 1.3 2010/08/07 03:50:01 krw Exp $ */ /* * Copyright (c) 2007,2009 Dale Rahn <drahn@openbsd.org> * @@ -306,13 +306,13 @@ omgpio_intr_establish(unsigned int gpio, int level, int spl, */ if (GPIO_PIN_TO_INST(gpio) > NOMGPIO) - panic("omgpio_intr_establish: bogus irqnumber %d: %s\n", + panic("omgpio_intr_establish: bogus irqnumber %d: %s", gpio, name); sc = omgpio_cd.cd_devs[GPIO_PIN_TO_INST(gpio)]; if (sc->sc_handlers[GPIO_PIN_TO_OFFSET(gpio)] != NULL) - panic("omgpio_intr_establish: gpio pin busy %d old %s new %s\n", + panic("omgpio_intr_establish: gpio pin busy %d old %s new %s", gpio, sc->sc_handlers[GPIO_PIN_TO_OFFSET(gpio)]->ih_name, name); @@ -388,7 +388,7 @@ omgpio_irq(void *v) ih->ih_count.ec_count++; omgpio_clear_intr(ih->ih_gpio); } else { - panic("omgpio: irq fired no handler, gpio %x %x %x\n", + panic("omgpio: irq fired no handler, gpio %x %x %x", sc->sc_dev.dv_unit * 32 + bit, pending, bus_space_read_4(sc->sc_iot, sc->sc_ioh, GPIO_IRQENABLE1) |
