From 3c39b2380295b403aa9c3c021bd6eff29e8b04ac Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sat, 3 Feb 2007 05:20:31 +0000 Subject: [PATCH] Fix botch in #ifdef DIAGNOSTIC. --- sys/arch/sun3/sun3x/dvma.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/arch/sun3/sun3x/dvma.c b/sys/arch/sun3/sun3x/dvma.c index 3c139a0cd5c0..cd3846083292 100644 --- a/sys/arch/sun3/sun3x/dvma.c +++ b/sys/arch/sun3/sun3x/dvma.c @@ -1,4 +1,4 @@ -/* $NetBSD: dvma.c,v 1.33 2007/02/03 05:13:58 tsutsui Exp $ */ +/* $NetBSD: dvma.c,v 1.34 2007/02/03 05:20:31 tsutsui Exp $ */ /*- * Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -76,7 +76,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: dvma.c,v 1.33 2007/02/03 05:13:58 tsutsui Exp $"); +__KERNEL_RCSID(0, "$NetBSD: dvma.c,v 1.34 2007/02/03 05:20:31 tsutsui Exp $"); #include #include @@ -379,7 +379,7 @@ _bus_dmamap_unload(bus_dma_tag_t t, bus_dmamap_t map) #ifdef DIAGNOSTIC if (map->dm_nsegs != 1) - panic("%s: invalid nsegs = %d", __func__, nsegs); + panic("%s: invalid nsegs = %d", __func__, map->dm_nsegs); #endif segs = map->dm_segs;