diff options
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_dev.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/geom_dev.c b/sys/geom/geom_dev.c index 909cb91..f291b32 100644 --- a/sys/geom/geom_dev.c +++ b/sys/geom/geom_dev.c @@ -148,7 +148,8 @@ g_dev_taste(struct g_class *mp, struct g_provider *pp, int insist __unused) snprintf(buf, sizeof(buf), "%s%s", val, gp->name + len); freeenv(val); - adev = make_dev_alias(dev, buf); + make_dev_alias_p(MAKEDEV_CHECKNAME | MAKEDEV_WAITOK, + &adev, dev, "%s", buf); break; } } |