diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-07-30 20:44:10 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-07-30 20:44:10 +0000 |
commit | ab933a8c5768c54d096ff83f76111ebf2c12e113 (patch) | |
tree | 6a314e912e8b09df337aab50bd70aec7aa9121e9 /sys | |
parent | 1e9bab6848d190f7a7994aad689667e56e734282 (diff) |
#if DIAGNOSTIC -> #ifdef DIAGNOSTIC
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/machdep.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c index b016eb24a20..d6bf8ced7ab 100644 --- a/sys/arch/mvme88k/mvme88k/machdep.c +++ b/sys/arch/mvme88k/mvme88k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.150 2004/07/30 19:28:22 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.151 2004/07/30 20:44:09 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -1450,7 +1450,7 @@ intr_establish(int vec, struct intrhand *ihand, const char *name) intrhand_t *list; if (vec < 0 || vec >= NVMEINTR) { -#if DIAGNOSTIC +#ifdef DIAGNOSTIC panic("intr_establish: vec (0x%x) not between 0x00 and 0xff", vec); #endif /* DIAGNOSTIC */ @@ -1461,7 +1461,7 @@ intr_establish(int vec, struct intrhand *ihand, const char *name) if (!SLIST_EMPTY(list)) { intr = SLIST_FIRST(list); if (intr->ih_ipl != ihand->ih_ipl) { -#if DIAGNOSTIC +#ifdef DIAGNOSTIC panic("intr_establish: there are other handlers with " "vec (0x%x) at ipl %x, but you want it at %x", intr->ih_ipl, vec, ihand->ih_ipl); |