diff options
Diffstat (limited to 'sys/boot/i386/libi386/biosdisk.c')
| -rw-r--r-- | sys/boot/i386/libi386/biosdisk.c | 4 |
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); } |
