diff options
author | phk <phk@FreeBSD.org> | 2002-06-09 10:57:34 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-06-09 10:57:34 +0000 |
commit | 411db1de5af2d592dad99b0be550c1d1396cb0bd (patch) | |
tree | 2aee47df7b4c048e552dfb36f69f352adcc71438 /sys/geom/geom_gpt.c | |
parent | 3f079678493fd4e553dce8c31386e74404b08d11 (diff) | |
download | FreeBSD-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.c | 4 |
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); |