diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-05 13:22:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-12-05 13:22:11 +0000 |
commit | 5d0cc1d6dad7fa7de090af70c2d08138c7fb6c00 (patch) | |
tree | eb2a0c68443b42adfa7e1cc45200e0d98b450c95 /sys/arch | |
parent | 8c62d56fd4cb9a5b4ba83d1a57c610af0180d3a9 (diff) |
call iso_disklabelspoof() if neccessary
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sparc/sparc/disksubr.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/arch/sparc/sparc/disksubr.c b/sys/arch/sparc/sparc/disksubr.c index 0e4ab2f726f..22e0bde06b3 100644 --- a/sys/arch/sparc/sparc/disksubr.c +++ b/sys/arch/sparc/sparc/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.6 1996/09/12 04:33:29 downsj Exp $ */ +/* $OpenBSD: disksubr.c,v 1.7 1996/12/05 13:22:10 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.16 1996/04/28 20:25:59 thorpej Exp $ */ /* @@ -146,6 +146,11 @@ readdisklabel(dev, strat, lp, clp) lp->d_partitions[0].p_size = 0x1fffffff; lp->d_partitions[0].p_offset = 0; +#if defined(CD9660) + if (iso_disklabelspoof(dev, strat, lp) == 0) + return (msg); +#endif + /* obtain buffer to probe drive with */ bp = geteblk((int)lp->d_secsize); |