summaryrefslogtreecommitdiff
path: root/sys/arch/i386/stand/libsa
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>1999-10-03 20:37:26 +0000
committerHakan Olsson <ho@cvs.openbsd.org>1999-10-03 20:37:26 +0000
commit784ed65222c4f8e8390c3103a8a02d5134e70d2a (patch)
treead5438322fd91159130b875497ad56571122361c /sys/arch/i386/stand/libsa
parent23717e3728ba470ab7580305d7a6a9dcc481e612 (diff)
Add missing bzero().
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