From cb3c42bb896a1e1e2969293080f52e46112cce07 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Thu, 25 Sep 2008 11:00:49 +0000 Subject: Initialize 'capacity' to 0 and use tabs to indent. "won't hurt" miod@. --- sys/dev/ata/atascsi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') 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 @@ -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)); -- cgit v1.2.3