summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/arch/vax/vax/disksubr.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/vax/vax/disksubr.c b/sys/arch/vax/vax/disksubr.c
index efacafeabf3..84e8b781147 100644
--- a/sys/arch/vax/vax/disksubr.c
+++ b/sys/arch/vax/vax/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.17 2002/03/14 01:26:48 millert Exp $ */
+/* $OpenBSD: disksubr.c,v 1.18 2002/04/29 19:12:31 miod Exp $ */
/* $NetBSD: disksubr.c,v 1.21 1999/06/30 18:48:06 ragge Exp $ */
/*
@@ -168,6 +168,12 @@ readdisklabel(dev, strat, lp, osdep, spoofonly)
*lp = *dlp;
}
}
+
+#if defined(CD9660)
+ if (msg && iso_disklabelspoof(dev, strat, lp) == 0)
+ msg = NULL;
+#endif
+
bp->b_flags = B_INVAL | B_AGE | B_READ;
brelse(bp);
return (msg);