diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-08-20 20:57:33 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-08-20 20:57:33 +0000 |
commit | 4a63d4c1a3f33bb3ff40d9d493f41cc7ba4f94a5 (patch) | |
tree | 7e7248a8a8349d2f9975a7f8908a1cfdfcdd80f0 | |
parent | 292d3e9d14aff0b8c5544d4dd38468be3c44112a (diff) |
add busted cd9660 disklabel spoofing code
-rw-r--r-- | sys/arch/mac68k/mac68k/disksubr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/mac68k/mac68k/disksubr.c b/sys/arch/mac68k/mac68k/disksubr.c index 0949d0f5e2e..a292e5a45cf 100644 --- a/sys/arch/mac68k/mac68k/disksubr.c +++ b/sys/arch/mac68k/mac68k/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.5 1997/08/08 21:46:45 niklas Exp $ */ +/* $OpenBSD: disksubr.c,v 1.6 1997/08/20 20:57:32 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.14 1996/05/05 06:18:22 briggs Exp $ */ /* @@ -486,6 +486,10 @@ readdisklabel(dev, strat, lp, osdep) } bp = geteblk((int)lp->d_secsize * MAXPARTITIONS); +i am breaking this code here to ensure that this will not compile until +cd9660 disklabel spoofing is added to the code. + + bp->b_dev = dev; bp->b_blkno = 0; bp->b_resid = 0; |