]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Correct logic error in biosdisk.c:bd_realstrategy()
authorallanjude <allanjude@FreeBSD.org>
Sat, 16 Jun 2018 02:50:29 +0000 (02:50 +0000)
committerallanjude <allanjude@FreeBSD.org>
Sat, 16 Jun 2018 02:50:29 +0000 (02:50 +0000)
commita3b6ccb4fcd925f3784d443dc9cd506b93cb2d8a
tree94f1aded3e9b6d5039e6e3ed4203f6af78764ac9
parent22a7fc9fe9ae7b8221a917997d2143768ee1d793
Correct logic error in biosdisk.c:bd_realstrategy()

The wrong condition is used when evaluating the return of disk_ioctl()
This results in reaching the 'We should not get here' branch in most casts

Reviewed by: imp
Sponsored by: Klara Systems
Differential Revision: https://reviews.freebsd.org/D15839
stand/i386/libi386/biosdisk.c