summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/hppa/hppa/mainbus.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hppa/hppa/mainbus.c b/sys/arch/hppa/hppa/mainbus.c
index c25d76f990e..90ea9d60cc7 100644
--- a/sys/arch/hppa/hppa/mainbus.c
+++ b/sys/arch/hppa/hppa/mainbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mainbus.c,v 1.32 2002/04/22 01:49:42 mickey Exp $ */
+/* $OpenBSD: mainbus.c,v 1.33 2002/04/22 20:03:08 mickey Exp $ */
/*
* Copyright (c) 1998-2001 Michael Shalayeff
@@ -877,7 +877,7 @@ mbprint(aux, pnp)
printf("\"%s\" at %s (type %x, sv %x)", ca->ca_name, pnp,
ca->ca_type.iodc_type, ca->ca_type.iodc_sv_model);
if (ca->ca_hpa) {
- if (ca->ca_hpa & ~ca->ca_hpamask)
+ if (~ca->ca_hpamask)
printf(" offset %x", ca->ca_hpa & ~ca->ca_hpamask);
if (!pnp && ca->ca_irq >= 0)
printf(" irq %d", ca->ca_irq);