summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-01-11 10:02:42 +0000
committerphk <phk@FreeBSD.org>2004-01-11 10:02:42 +0000
commit437b669defa6f22dc46f3bb6f50c9c062cacde19 (patch)
treeacdeb987713081ea299d215aa6d7a3380ba784ba
parent772e06d92b89353e10fd4e3c39cd3545df06a19a (diff)
downloadFreeBSD-src-437b669defa6f22dc46f3bb6f50c9c062cacde19.zip
FreeBSD-src-437b669defa6f22dc46f3bb6f50c9c062cacde19.tar.gz
Print the correct pointer in a KASSERT.
Submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>
-rw-r--r--sys/geom/geom_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c
index b4b0527..2d11879 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);
OpenPOWER on IntegriCloud