diff options
author | phk <phk@FreeBSD.org> | 2002-05-21 19:50:04 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-05-21 19:50:04 +0000 |
commit | 8623a7bc17bf717c85ed19c0dcd320600b1360fb (patch) | |
tree | be13846f2b1a245bfdcf4c7bba0be562dae554da /sys/geom/geom_dev.c | |
parent | 37981f345cceca42470a26bc5c4164cbdbd630cb (diff) | |
download | FreeBSD-src-8623a7bc17bf717c85ed19c0dcd320600b1360fb.zip FreeBSD-src-8623a7bc17bf717c85ed19c0dcd320600b1360fb.tar.gz |
Remove the "-class" suffix from classes, they will not be ambiguous.
Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/geom/geom_dev.c')
-rw-r--r-- | sys/geom/geom_dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |