summaryrefslogtreecommitdiff
path: root/lib/libdisk/create_chunk.c
diff options
context:
space:
mode:
authorRodney W. Grimes <rgrimes@FreeBSD.org>1995-06-11 19:33:05 +0000
committerRodney W. Grimes <rgrimes@FreeBSD.org>1995-06-11 19:33:05 +0000
commitd3628763db3974826e46a036aa54333147fbe238 (patch)
treeba998dfb4fcad03e00a5cbf58e2a0ad648bab6e6 /lib/libdisk/create_chunk.c
parent67eb1e0ed1fb11c703392e562440c67d3b44b094 (diff)
Notes
Diffstat (limited to 'lib/libdisk/create_chunk.c')
-rw-r--r--lib/libdisk/create_chunk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libdisk/create_chunk.c b/lib/libdisk/create_chunk.c
index e01975297513..ad0c8020134a 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.19 1995/05/24 08:59:38 jkh Exp $
+ * $Id: create_chunk.c,v 1.20.2.1 1995/05/31 23:53:45 jkh Exp $
*
*/
@@ -190,7 +190,7 @@ Create_Chunk_DWIM(struct disk *d, struct chunk *parent , u_long size, chunk_e ty
warn("Not enough unused space");
return 0;
found:
- if (c1->flags & CHUNK_BAD144) {
+ if (parent->flags & CHUNK_BAD144) {
edge = c1->end - d->bios_sect - 127;
if (offset > edge)
return 0;