aboutsummaryrefslogtreecommitdiff
path: root/lib/libdisk/change.c
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1995-05-24 08:59:40 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1995-05-24 08:59:40 +0000
commit2f2a4e7a4a816605263982bffd4fbdc808d591cd (patch)
tree540c17fff92c76ed5ebab2195bb3b459f0f7950f /lib/libdisk/change.c
parent0412e9f72c2069210fc75e106a4ae01ee1cbf3da (diff)
Notes
Diffstat (limited to 'lib/libdisk/change.c')
-rw-r--r--lib/libdisk/change.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/libdisk/change.c b/lib/libdisk/change.c
index cd78f45e45d8..80ce1f24335b 100644
--- a/lib/libdisk/change.c
+++ b/lib/libdisk/change.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: change.c,v 1.3 1995/04/29 04:00:53 phk Exp $
+ * $Id: change.c,v 1.5 1995/05/01 04:05:23 phk Exp $
*
*/
@@ -55,5 +55,10 @@ All_FreeBSD(struct disk *d)
goto again;
}
c=d->chunks;
+ if (d->flags & DISK_ON_TRACK) {
+ c->offset += 63;
+ c->part->offset += 63;
+ d->flags &= ~DISK_ON_TRACK;
+ }
Create_Chunk(d,c->offset,c->size,freebsd,0xa5,0);
}