diff options
author | phk <phk@FreeBSD.org> | 2004-01-11 10:02:42 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-01-11 10:02:42 +0000 |
commit | 437b669defa6f22dc46f3bb6f50c9c062cacde19 (patch) | |
tree | acdeb987713081ea299d215aa6d7a3380ba784ba | |
parent | 772e06d92b89353e10fd4e3c39cd3545df06a19a (diff) | |
download | FreeBSD-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.c | 2 |
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); |