summaryrefslogtreecommitdiff
path: root/sys/dev/ata/atascsi.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2008-09-25 11:00:49 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2008-09-25 11:00:49 +0000
commitcb3c42bb896a1e1e2969293080f52e46112cce07 (patch)
treeaed0e2603c660ec340fe38c68f2962ac6b083668 /sys/dev/ata/atascsi.c
parent6ef1d9d300bca02697f8fb2da259c12090976d7d (diff)
Initialize 'capacity' to 0 and use tabs to indent. "won't hurt" miod@.
Diffstat (limited to 'sys/dev/ata/atascsi.c')
-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));