summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_gpt.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-06-09 10:57:34 +0000
committerphk <phk@FreeBSD.org>2002-06-09 10:57:34 +0000
commit411db1de5af2d592dad99b0be550c1d1396cb0bd (patch)
tree2aee47df7b4c048e552dfb36f69f352adcc71438 /sys/geom/geom_gpt.c
parent3f079678493fd4e553dce8c31386e74404b08d11 (diff)
downloadFreeBSD-src-411db1de5af2d592dad99b0be550c1d1396cb0bd.zip
FreeBSD-src-411db1de5af2d592dad99b0be550c1d1396cb0bd.tar.gz
Improve some on the naming.
Submitted by: iedowse
Diffstat (limited to 'sys/geom/geom_gpt.c')
-rw-r--r--sys/geom/geom_gpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/geom_gpt.c b/sys/geom/geom_gpt.c
index 568420d..efcbb2e 100644
--- a/sys/geom/geom_gpt.c
+++ b/sys/geom/geom_gpt.c
@@ -111,7 +111,7 @@ g_gpt_start(struct bio *bp)
*/
type = (memcmp(&gs->part[pp->index]->ent_type, &freebsd,
sizeof(freebsd))) ? 0 : 165;
- return ((g_haveattr_int(bp, "MBR::type", type)) ? 1 : 0);
+ return ((g_handleattr_int(bp, "MBR::type", type)) ? 1 : 0);
}
static void
@@ -246,7 +246,7 @@ static struct g_class g_gpt_class = {
"GPT",
g_gpt_taste,
NULL,
- G_CLASS_INITSTUFF
+ G_CLASS_INITIALIZER
};
DECLARE_GEOM_CLASS(g_gpt_class, g_gpt);
OpenPOWER on IntegriCloud