From cbb650409c09f81501dd3550c0455b3283255acb Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 11 Jan 2004 10:02:42 +0000 Subject: [PATCH] Print the correct pointer in a KASSERT. Submitted by: Pawel Jakub Dawidek --- sys/geom/geom_subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index b4b05278fa3..2d118792690 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -236,7 +236,7 @@ g_destroy_geom(struct g_geom *gp) gp->name, LIST_FIRST(&gp->consumer))); KASSERT(LIST_EMPTY(&gp->provider), ("g_destroy_geom(%s) with provider(s) [%p]", - gp->name, LIST_FIRST(&gp->consumer))); + gp->name, LIST_FIRST(&gp->provider))); g_cancel_event(gp); LIST_REMOVE(gp, geom); TAILQ_REMOVE(&geoms, gp, geoms);