From f9aaf6e908f46d67f98236053b0a9c7192239e8d Mon Sep 17 00:00:00 2001 From: deraadt Date: Mon, 9 Dec 1996 07:19:22 +0000 Subject: [PATCH] brelse properly --- sys/arch/i386/i386/disksubr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/i386/i386/disksubr.c b/sys/arch/i386/i386/disksubr.c index 4ff78f1503a..49901b59cb4 100644 --- a/sys/arch/i386/i386/disksubr.c +++ b/sys/arch/i386/i386/disksubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: disksubr.c,v 1.13 1996/12/07 12:20:39 deraadt Exp $ */ +/* $OpenBSD: disksubr.c,v 1.14 1996/12/09 07:19:22 deraadt Exp $ */ /* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */ /* @@ -206,7 +206,7 @@ readdisklabel(dev, strat, lp, osdep) if (msg) { #if defined(CD9660) if (iso_disklabelspoof(dev, strat, lp) == 0) - return (msg); + msg = NULL; #endif goto done; } -- 2.20.1