aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/boot/i386/libi386/biosdisk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/i386/libi386/biosdisk.c b/sys/boot/i386/libi386/biosdisk.c
index 1337a92ac0d9..024880265c2d 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.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;