mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Print the correct pointer in a KASSERT.
Submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>
This commit is contained in:
parent
6c021e3150
commit
cbb650409c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue