diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-02-16 23:01:19 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-02-16 23:01:19 +0000 |
commit | 0592c29257083389b0b4302c8b2cd297359f071a (patch) | |
tree | c0d2dc3c1de5cb36cf58ddd621ccf9976bf24b03 /sys/arch/vax | |
parent | 1a10ddac6334cd1d72c83ebbe928bc299c814462 (diff) |
Move panic tests under #ifdef DEBUG
Diffstat (limited to 'sys/arch/vax')
-rw-r--r-- | sys/arch/vax/vax/in4_cksum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/vax/vax/in4_cksum.c b/sys/arch/vax/vax/in4_cksum.c index f878572ba62..c10326c3bf3 100644 --- a/sys/arch/vax/vax/in4_cksum.c +++ b/sys/arch/vax/vax/in4_cksum.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in4_cksum.c,v 1.2 2005/05/24 20:35:29 miod Exp $ */ +/* $OpenBSD: in4_cksum.c,v 1.3 2008/02/16 23:01:18 miod Exp $ */ /* $NetBSD: in4_cksum.c,v 1.8 2003/09/29 22:54:28 matt Exp $ */ /* @@ -120,7 +120,7 @@ in4_cksum(struct mbuf *m, u_int8_t nxt, int off, int len) #endif if (nxt != 0) { -#ifdef DIAGNOSTIC +#ifdef DEBUG if (off < sizeof(struct ipovly)) panic("in4_cksum: offset too short"); if (m->m_len < sizeof(struct ip)) |