summaryrefslogtreecommitdiffstats
path: root/release/libdisk/change.c
diff options
context:
space:
mode:
Diffstat (limited to 'release/libdisk/change.c')
-rw-r--r--release/libdisk/change.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/release/libdisk/change.c b/release/libdisk/change.c
index cd78f45..80ce1f2 100644
--- a/release/libdisk/change.c
+++ b/release/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);
}
OpenPOWER on IntegriCloud