summaryrefslogtreecommitdiff
path: root/sys/arch/hppa/dev/mongoose.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-04-08 20:37:40 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-04-08 20:37:40 +0000
commit926ecf6bc68da27ba8daa4e84579e1c2367dcbc0 (patch)
tree5271ef49dbdb7e3d73852659dfc2895e0dd11a62 /sys/arch/hppa/dev/mongoose.c
parent50ff846cc1904cb63589fa5c2a1847972b0bd4d2 (diff)
Make dmesg prettier if attachment fails and no option DEBUG
Diffstat (limited to 'sys/arch/hppa/dev/mongoose.c')
-rw-r--r--sys/arch/hppa/dev/mongoose.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/hppa/dev/mongoose.c b/sys/arch/hppa/dev/mongoose.c
index c2c2ad77ab1..08f04ecb26f 100644
--- a/sys/arch/hppa/dev/mongoose.c
+++ b/sys/arch/hppa/dev/mongoose.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mongoose.c,v 1.9 2002/03/14 01:26:31 millert Exp $ */
+/* $OpenBSD: mongoose.c,v 1.10 2003/04/08 20:37:39 miod Exp $ */
/*
* Copyright (c) 1998,1999 Michael Shalayeff
@@ -265,6 +265,8 @@ mg_intr_establish(void *v, int irq, int type, int pri,
#ifdef DEBUG
printf("%s: bad interrupt level (%d)\n", sc->sc_dev.dv_xname,
type);
+#else
+ printf("\n");
#endif
return NULL;
}
@@ -274,6 +276,8 @@ mg_intr_establish(void *v, int irq, int type, int pri,
#ifdef DEBUG
printf("%s: irq %d already established\n", sc->sc_dev.dv_xname,
irq);
+#else
+ printf("\n");
#endif
return NULL;
}