diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2003-04-08 20:37:40 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2003-04-08 20:37:40 +0000 |
commit | 926ecf6bc68da27ba8daa4e84579e1c2367dcbc0 (patch) | |
tree | 5271ef49dbdb7e3d73852659dfc2895e0dd11a62 /sys/arch/hppa/dev/asp.c | |
parent | 50ff846cc1904cb63589fa5c2a1847972b0bd4d2 (diff) |
Make dmesg prettier if attachment fails and no option DEBUG
Diffstat (limited to 'sys/arch/hppa/dev/asp.c')
-rw-r--r-- | sys/arch/hppa/dev/asp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/hppa/dev/asp.c b/sys/arch/hppa/dev/asp.c index 57909236b28..a9b4530cf3f 100644 --- a/sys/arch/hppa/dev/asp.c +++ b/sys/arch/hppa/dev/asp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asp.c,v 1.10 2003/02/18 09:40:40 miod Exp $ */ +/* $OpenBSD: asp.c,v 1.11 2003/04/08 20:37:39 miod Exp $ */ /* * Copyright (c) 1998-2002 Michael Shalayeff @@ -170,6 +170,8 @@ aspattach(parent, self, aux) if (bus_space_map(ca->ca_iot, ca->ca_hpa, IOMOD_HPASIZE, 0, &ioh)) { #ifdef DEBUG printf("aspattach: can't map IO space\n"); +#else + printf("\n"); #endif return; } |