summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1998-09-28 20:07:39 +0000
committerPeter Wemm <peter@FreeBSD.org>1998-09-28 20:07:39 +0000
commit3cae2e80aa814fedd590a19ec104271d5928fcce (patch)
treeaa7c31f22ad5b7e5eb80a87b1ee2cdda360556fa
parent645944e19f8f02c8f0d0763f91e0fc09009e6ae9 (diff)
Notes
-rw-r--r--sys/boot/i386/libi386/biosdisk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/i386/libi386/biosdisk.c b/sys/boot/i386/libi386/biosdisk.c
index e840506b8f8c..752281eaa778 100644
--- a/sys/boot/i386/libi386/biosdisk.c
+++ b/sys/boot/i386/libi386/biosdisk.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: biosdisk.c,v 1.5 1998/09/19 01:33:29 msmith Exp $
+ * $Id: biosdisk.c,v 1.6 1998/09/26 01:30:20 msmith Exp $
*/
/*
@@ -174,7 +174,7 @@ bd_int13probe(int unit)
v86int();
if (!(v86.efl & 0x1) && /* carry clear */
- ((v86.edx & 0xff) > unit & 0x7f)) /* unit # OK */
+ ((v86.edx & 0xff) > (unit & 0x7f))) /* unit # OK */
return(1);
return(0);
}