From 8623a7bc17bf717c85ed19c0dcd320600b1360fb Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 21 May 2002 19:50:04 +0000 Subject: Remove the "-class" suffix from classes, they will not be ambiguous. Sponsored by: DARPA & NAI Labs. --- sys/geom/geom_dev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/geom/geom_dev.c') diff --git a/sys/geom/geom_dev.c b/sys/geom/geom_dev.c index 0c34f7c..f3be90c 100644 --- a/sys/geom/geom_dev.c +++ b/sys/geom/geom_dev.c @@ -79,7 +79,7 @@ static g_taste_t g_dev_taste; static g_orphan_t g_dev_orphan; static struct g_class g_dev_class = { - "DEV-class", + "DEV", g_dev_taste, NULL, G_CLASS_INITSTUFF @@ -291,7 +291,7 @@ g_dev_ioctl(dev_t dev, u_long cmd, caddr_t data, int fflag, struct thread *td) if (error != 0 && cmd == DIOCGDVIRGIN) { g_topology_lock(); - gp = g_create_geomf("BSD-class", cp->provider, NULL); + gp = g_create_geomf("BSD", cp->provider, NULL); g_topology_unlock(); } PICKUP_GIANT(); -- cgit v1.1