summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/create_chunk.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-04-30 11:04:16 +0000
committerphk <phk@FreeBSD.org>1995-04-30 11:04:16 +0000
commit207cc9aa1b7958de0f80495004bef9a3d7cd67bd (patch)
treee2d59f880d13ec0362f8f6337a1f6cb182b43c1a /lib/libdisk/create_chunk.c
parent5eb0a0c02bef0c30ced9bca8f78a0f78c3febe1b (diff)
downloadFreeBSD-src-207cc9aa1b7958de0f80495004bef9a3d7cd67bd.zip
FreeBSD-src-207cc9aa1b7958de0f80495004bef9a3d7cd67bd.tar.gz
get bootblocks right.
Add mbr and bteasy17 to tst01 read partitions from kernel instead of disk. Still problems with writing labels, discussing with Bruce. Extended slices doesn't get written yet.
Diffstat (limited to 'lib/libdisk/create_chunk.c')
-rw-r--r--lib/libdisk/create_chunk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index 27652e6..0bb6c08 100644
--- a/lib/libdisk/create_chunk.c
+++ b/lib/libdisk/create_chunk.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: create_chunk.c,v 1.3 1995/04/29 07:21:10 phk Exp $
+ * $Id: create_chunk.c,v 1.4 1995/04/30 06:09:25 phk Exp $
*
*/
@@ -128,7 +128,6 @@ int
Create_Chunk(struct disk *d, u_long offset, u_long size, chunk_e type, int subtype, u_long flags)
{
int i;
- u_long l1,l2,end = offset + size;
i = Add_Chunk(d,offset,size,"X",type,subtype,flags);
Fixup_Names(d);
OpenPOWER on IntegriCloud