summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/i386/stand/libsa')
-rw-r--r--sys/arch/i386/stand/libsa/diskprobe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/stand/libsa/diskprobe.c b/sys/arch/i386/stand/libsa/diskprobe.c
index 1daad010c57..f01a096083d 100644
--- a/sys/arch/i386/stand/libsa/diskprobe.c
+++ b/sys/arch/i386/stand/libsa/diskprobe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: diskprobe.c,v 1.16 1999/05/20 12:56:40 aaron Exp $ */
+/* $OpenBSD: diskprobe.c,v 1.17 1999/10/03 20:37:25 ho Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
@@ -107,6 +107,7 @@ hardprobe()
/* Hard disks */
for(i = 0x80; i < 0x88; i++) {
dip = alloc(sizeof(struct diskinfo));
+ bzero(dip, sizeof(*dip));
if(bios_getdiskinfo(i, &dip->bios_info)) {
#ifdef BIOS_DEBUG