diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-09-27 20:56:21 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-09-27 20:56:21 +0000 |
| commit | f3bbbfe2dfc01d9073b3cae12c7a3274037a1eb2 (patch) | |
| tree | f3b5bd029099da261ff529134268ceca7f8fe183 | |
| parent | a1bd3ee20cdd09c464f276e4bc4a04a7cc24e96a (diff) | |
Notes
| -rw-r--r-- | sys/geom/geom_pc98.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_pc98.c b/sys/geom/geom_pc98.c index 949ce55ea5d4..fc3978e5c813 100644 --- a/sys/geom/geom_pc98.c +++ b/sys/geom/geom_pc98.c @@ -158,7 +158,7 @@ g_pc98_taste(struct g_class *mp, struct g_provider *pp, int flags) printf("Index: %d\n", i); g_hexdump(buf+512 + i * 32, 32); start = v * fwsect * fwhead * sectorsize; - length = (u - v) * fwsect * fwhead * sectorsize; + length = (1 + u - v) * fwsect * fwhead * sectorsize; printf("c%d - c%d (%jx - %jx) = %s\n", v, u, (uintmax_t)start, (uintmax_t)length, buf + 512 + 16 + i * 32); npart++; |
