diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2008-09-25 11:00:49 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2008-09-25 11:00:49 +0000 |
commit | cb3c42bb896a1e1e2969293080f52e46112cce07 (patch) | |
tree | aed0e2603c660ec340fe38c68f2962ac6b083668 /sys/dev | |
parent | 6ef1d9d300bca02697f8fb2da259c12090976d7d (diff) |
Initialize 'capacity' to 0 and use tabs to indent. "won't hurt" miod@.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ata/atascsi.c | 6 |
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)); |