35c35
< * $FreeBSD: head/sys/geom/geom_disk.c 92403 2002-03-16 09:24:19Z phk $
---
> * $FreeBSD: head/sys/geom/geom_disk.c 93248 2002-03-26 21:40:06Z phk $
59,60c59,60
< struct g_method g_disk_method = {
< "DISK-method",
---
> struct g_class g_disk_class = {
> "DISK-class",
184c184
< g_add_method(&g_disk_method);
---
> g_add_class(&g_disk_class);
193c193
< gp = g_new_geomf(&g_disk_method, "%s%d", cdevsw->d_name, unit);
---
> gp = g_new_geomf(&g_disk_class, "%s%d", cdevsw->d_name, unit);
< * $FreeBSD: head/sys/geom/geom_disk.c 92403 2002-03-16 09:24:19Z phk $
---
> * $FreeBSD: head/sys/geom/geom_disk.c 93248 2002-03-26 21:40:06Z phk $
59,60c59,60
< struct g_method g_disk_method = {
< "DISK-method",
---
> struct g_class g_disk_class = {
> "DISK-class",
184c184
< g_add_method(&g_disk_method);
---
> g_add_class(&g_disk_class);
193c193
< gp = g_new_geomf(&g_disk_method, "%s%d", cdevsw->d_name, unit);
---
> gp = g_new_geomf(&g_disk_class, "%s%d", cdevsw->d_name, unit);