diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-06-09 10:59:04 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-06-09 10:59:04 +0000 |
| commit | 7aca952dcad91922516d568978870c8a31a18c18 (patch) | |
| tree | f0db07f1d99582b3018cfca3130fb758ce375f3a /tools | |
| parent | 503abe45402556db07071fca9192a54c6747781f (diff) | |
Notes
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/regression/geom/Test/T001/ref.conf | 2 | ||||
| -rw-r--r-- | tools/regression/geom/Test/T002/ref.conf | 2 | ||||
| -rw-r--r-- | tools/regression/geom/Test/T003/ref.conf | 2 | ||||
| -rw-r--r-- | tools/regression/geom/Test/T004/ref.conf | 2 | ||||
| -rw-r--r-- | tools/regression/geom/geom_simdev.c | 4 | ||||
| -rw-r--r-- | tools/regression/geom/geom_simdisk.c | 12 |
6 files changed, 12 insertions, 12 deletions
diff --git a/tools/regression/geom/Test/T001/ref.conf b/tools/regression/geom/Test/T001/ref.conf index 264304d363d41..065ac7d0c181c 100644 --- a/tools/regression/geom/Test/T001/ref.conf +++ b/tools/regression/geom/Test/T001/ref.conf @@ -155,7 +155,7 @@ <flags>0</flags> </magicspace> <magicspace> - <name>signatur</name> + <name>magic</name> <offset>510</offset> <length>2</length> <flags>0</flags> diff --git a/tools/regression/geom/Test/T002/ref.conf b/tools/regression/geom/Test/T002/ref.conf index 849ca57c0a1ac..7071b8987afb0 100644 --- a/tools/regression/geom/Test/T002/ref.conf +++ b/tools/regression/geom/Test/T002/ref.conf @@ -55,7 +55,7 @@ <flags>0</flags> </magicspace> <magicspace> - <name>signatur</name> + <name>magic</name> <offset>510</offset> <length>2</length> <flags>0</flags> diff --git a/tools/regression/geom/Test/T003/ref.conf b/tools/regression/geom/Test/T003/ref.conf index 9114a6e77204c..069e8c12f969a 100644 --- a/tools/regression/geom/Test/T003/ref.conf +++ b/tools/regression/geom/Test/T003/ref.conf @@ -599,7 +599,7 @@ <flags>0</flags> </magicspace> <magicspace> - <name>signatur</name> + <name>magic</name> <offset>510</offset> <length>2</length> <flags>0</flags> diff --git a/tools/regression/geom/Test/T004/ref.conf b/tools/regression/geom/Test/T004/ref.conf index 7e2383812cd4e..1e48f9edf08e7 100644 --- a/tools/regression/geom/Test/T004/ref.conf +++ b/tools/regression/geom/Test/T004/ref.conf @@ -125,7 +125,7 @@ <flags>0</flags> </magicspace> <magicspace> - <name>signatur</name> + <name>magic</name> <offset>510</offset> <length>2</length> <flags>0</flags> diff --git a/tools/regression/geom/geom_simdev.c b/tools/regression/geom/geom_simdev.c index 8dd3da4ec7263..2b51806ec3a6e 100644 --- a/tools/regression/geom/geom_simdev.c +++ b/tools/regression/geom/geom_simdev.c @@ -83,7 +83,7 @@ g_dev_orphan(struct g_consumer *cp) return; if (cp->acr > 0 || cp->acw > 0 || cp->ace > 0) g_access_rel(cp, -cp->acr, -cp->acw, -cp->ace); - g_dettach(cp); + g_detach(cp); g_destroy_consumer(cp); g_destroy_geom(gp); } @@ -93,7 +93,7 @@ static struct g_class dev_class = { "DEV-class", dev_taste, NULL, - G_CLASS_INITSTUFF + G_CLASS_INITIALIZER }; static struct g_geom * diff --git a/tools/regression/geom/geom_simdisk.c b/tools/regression/geom/geom_simdisk.c index 489e2531a5526..db791507282d2 100644 --- a/tools/regression/geom/geom_simdisk.c +++ b/tools/regression/geom/geom_simdisk.c @@ -52,7 +52,7 @@ struct g_class g_simdisk_class = { "SIMDISK-class", NULL, NULL, - G_CLASS_INITSTUFF + G_CLASS_INITIALIZER }; static void @@ -106,15 +106,15 @@ g_simdisk_start(struct bio *bp) return; } if (bp->bio_cmd == BIO_GETATTR) { - if (g_haveattr_int(bp, "GEOM::sectorsize", sc->sectorsize)) + if (g_handleattr_int(bp, "GEOM::sectorsize", sc->sectorsize)) return; - if (g_haveattr_int(bp, "GEOM::fwsectors", sc->fwsectors)) + if (g_handleattr_int(bp, "GEOM::fwsectors", sc->fwsectors)) return; - if (g_haveattr_int(bp, "GEOM::fwheads", sc->fwheads)) + if (g_handleattr_int(bp, "GEOM::fwheads", sc->fwheads)) return; - if (g_haveattr_int(bp, "GEOM::fwcylinders", sc->fwcylinders)) + if (g_handleattr_int(bp, "GEOM::fwcylinders", sc->fwcylinders)) return; - if (g_haveattr_off_t(bp, "GEOM::mediasize", sc->mediasize)) + if (g_handleattr_off_t(bp, "GEOM::mediasize", sc->mediasize)) return; } bp->bio_error = EOPNOTSUPP; |
