summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/change.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-12-07 10:34:59 +0000
committerpeter <peter@FreeBSD.org>1995-12-07 10:34:59 +0000
commit03382d7ccd5ed3c8bf17b6719df445c2d9c5dea6 (patch)
tree3d31cd880ab6a9af9ad3ab3c6313d70e1c542d60 /lib/libdisk/change.c
parent53a232b78efd4ef6c84ff8047a3a43c3d8cf0a25 (diff)
downloadFreeBSD-src-03382d7ccd5ed3c8bf17b6719df445c2d9c5dea6.zip
FreeBSD-src-03382d7ccd5ed3c8bf17b6719df445c2d9c5dea6.tar.gz
Update the -current sources from the 2.1 branch.
Approved (in spirit) by: jkh
Diffstat (limited to 'lib/libdisk/change.c')
-rw-r--r--lib/libdisk/change.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libdisk/change.c b/lib/libdisk/change.c
index 57ccbfa..7d7f811 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.8.2.1 1995/06/05 02:24:20 jkh Exp $
+ * $Id: change.c,v 1.9.2.1 1995/09/20 10:43:01 jkh Exp $
*
*/
@@ -46,7 +46,7 @@ Set_Bios_Geom(struct disk *disk, u_long cyl, u_long hd, u_long sect)
}
void
-All_FreeBSD(struct disk *d)
+All_FreeBSD(struct disk *d, int force_all)
{
struct chunk *c;
@@ -57,5 +57,6 @@ All_FreeBSD(struct disk *d)
goto again;
}
c=d->chunks;
- Create_Chunk(d,c->offset,c->size,freebsd,0xa5,0);
+ Create_Chunk(d,c->offset,c->size,freebsd,0xa5,
+ force_all? CHUNK_FORCE_ALL: 0);
}
OpenPOWER on IntegriCloud