summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2014-07-12 20:38:28 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2014-07-12 20:38:28 +0000
commit363bfe08aa31bab481852f7e2acb0c5781e9b80d (patch)
tree0302dd919e6694a87e0d47eb1b823ac76e174868 /sys
parentd6a3e8981d1ad87da6fb7fc22fafd3e0889873b1 (diff)
Oops. Correct variable name more likely to compile.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/octeon/dev/octcf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/octeon/dev/octcf.c b/sys/arch/octeon/dev/octcf.c
index 4787dbed9d7..940b050c541 100644
--- a/sys/arch/octeon/dev/octcf.c
+++ b/sys/arch/octeon/dev/octcf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: octcf.c,v 1.16 2014/07/12 20:36:45 krw Exp $ */
+/* $OpenBSD: octcf.c,v 1.17 2014/07/12 20:38:27 krw Exp $ */
/* $NetBSD: wd.c,v 1.193 1999/02/28 17:15:27 explorer Exp $ */
/*
@@ -374,7 +374,7 @@ _octcfstart(struct octcf_softc *wd, struct buf *bp)
lp = wd->sc_dk.dk_label;
secno = DL_BLKTOSEC(lp, bp->b_blkno) +
DL_GETPOFFSET(lp->d_partitions[DISKPART(bp->b_dev)]);
- nblks = howmany(bp->b_bcount, lp->d_secsize);
+ nsecs = howmany(bp->b_bcount, lp->d_secsize);
wd->sc_bp = bp;