aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/geom/geom_pc98.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_pc98.c b/sys/geom/geom_pc98.c
index a0867894ecd1..c80bd8a8ef5a 100644
--- a/sys/geom/geom_pc98.c
+++ b/sys/geom/geom_pc98.c
@@ -308,7 +308,7 @@ g_pc98_taste(struct g_class *mp, struct g_provider *pp, int flags)
g_topology_lock();
g_access_rel(cp, -1, 0, 0);
if (LIST_EMPTY(&gp->provider)) {
- g_std_spoiled(cp);
+ g_slice_spoiled(cp);
return (NULL);
}
return (gp);