summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ata/atascsi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ata/atascsi.c b/sys/dev/ata/atascsi.c
index 258a75145b8..ffa5ea551f5 100644
--- a/sys/dev/ata/atascsi.c
+++ b/sys/dev/ata/atascsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atascsi.c,v 1.62 2008/05/05 12:19:38 krw Exp $ */
+/* $OpenBSD: atascsi.c,v 1.63 2008/09/25 11:00:48 krw Exp $ */
/*
* Copyright (c) 2007 David Gwynne <dlg@openbsd.org>
@@ -714,8 +714,8 @@ atascsi_disk_capacity(struct scsi_xfer *xs)
struct atascsi *as = link->adapter_softc;
struct ata_port *ap = as->as_ports[link->target];
struct ata_identify *id = &ap->ap_identify;
- struct scsi_read_cap_data rcd;
- u_int64_t capacity;
+ struct scsi_read_cap_data rcd;
+ u_int64_t capacity = 0;
int i;
bzero(&rcd, sizeof(rcd));