mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-11 17:04:19 +01:00
Fix an uninitialized variable in the `dangerously dedicated disk' case.
This commit is contained in:
parent
5b3ac95f28
commit
36159e3d1e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40753
@ -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.13 1998/10/11 10:01:55 peter Exp $
|
||||
* $Id: biosdisk.c,v 1.14 1998/10/11 10:29:49 peter Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -311,6 +311,7 @@ bd_opendisk(struct open_disk **odp, struct i386_devdesc *dev)
|
||||
error = ENOENT;
|
||||
goto out;
|
||||
case 0:
|
||||
sector = 0;
|
||||
goto unsliced;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user