diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-05 13:09:36 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-05 13:09:36 +0000 |
commit | 9c9c479fccf366b3c4466f873b6bc23412c184c0 (patch) | |
tree | 50d254d5a69514273f04f1a223683b2c1cd793ef /sys | |
parent | d3984c40779ab9cc667a644a9916f8f2dd62350e (diff) |
call iso_disklabelspoof() as needed...
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/i386/i386/disksubr.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/disksubr.c b/sys/arch/i386/i386/disksubr.c index 45b7634133e..f111d36234c 100644 --- a/sys/arch/i386/i386/disksubr.c +++ b/sys/arch/i386/i386/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.11 1996/10/23 15:24:07 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.12 1996/12/05 13:09:35 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -99,6 +99,11 @@ readdisklabel(dev, strat, lp, osdep) lp->d_partitions[i].p_size = 0x1fffffff; lp->d_partitions[i].p_offset = 0; +#if defined(CD9660) + if (iso_disklabelspoof(dev, strat, lp) == 0) + return (msg); +#endif + /* get a buffer and initialize it */ bp = geteblk((int)lp->d_secsize); bp->b_dev = dev; |