summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-11-07 09:21:01 +0000
committerphk <phk@FreeBSD.org>1997-11-07 09:21:01 +0000
commitccc7e7fa9fe3a03b7d36abe1e051eb84caa89480 (patch)
tree1bd13ce5c0eb05db5c842c70e635cd52797224f3 /sys/pci
parent4d268889365c1d9414bbca2f6c63d87db74ec37b (diff)
downloadFreeBSD-src-ccc7e7fa9fe3a03b7d36abe1e051eb84caa89480.zip
FreeBSD-src-ccc7e7fa9fe3a03b7d36abe1e051eb84caa89480.tar.gz
Rename some local variables to avoid shadowing other local variables.
Found by: -Wshadow
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/ncr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/pci/ncr.c b/sys/pci/ncr.c
index d13fc9e..c7a38b3 100644
--- a/sys/pci/ncr.c
+++ b/sys/pci/ncr.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: ncr.c,v 1.110 1997/09/10 20:46:11 se Exp $
+** $Id: ncr.c,v 1.111 1997/09/21 22:02:16 gibbs Exp $
**
** Device driver for the NCR 53C810 PCI-SCSI-Controller.
**
@@ -1341,7 +1341,7 @@ static void ncr_attach (pcici_t tag, int unit);
static char ident[] =
- "\n$Id: ncr.c,v 1.110 1997/09/10 20:46:11 se Exp $\n";
+ "\n$Id: ncr.c,v 1.111 1997/09/21 22:02:16 gibbs Exp $\n";
static const u_long ncr_version = NCR_VERSION * 11
+ (u_long) sizeof (struct ncb) * 7
@@ -4116,11 +4116,11 @@ static int32_t ncr_start (struct scsi_xfer * xp)
printf ("trying to transfer %8x bytes, mem addr = %8x\n",
xp->datalen, xp->data);
{
- int i;
+ int j;
PRINT_ADDR(xp);
printf ("command: %2x (", cmd->opcode);
- for (i = 0; i<11; i++)
- printf (" %2x", cmd->bytes[i]);
+ for (j = 0; j<11; j++)
+ printf (" %2x", cmd->bytes[j]);
printf (")\n");
}
}
OpenPOWER on IntegriCloud