diff options
author | phk <phk@FreeBSD.org> | 2001-02-07 08:44:42 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-02-07 08:44:42 +0000 |
commit | 94bdc042d526196294da5c7a396425384cffbb1f (patch) | |
tree | cf92b86ab94efa104152b4f01d996e5aeb89ac48 /sys/dev/musycc | |
parent | d4473642637e5eadfea57b93316a31adcf33e702 (diff) | |
download | FreeBSD-src-94bdc042d526196294da5c7a396425384cffbb1f.zip FreeBSD-src-94bdc042d526196294da5c7a396425384cffbb1f.tar.gz |
Use correct index when counting short errors.
Diffstat (limited to 'sys/dev/musycc')
-rw-r--r-- | sys/dev/musycc/musycc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/musycc/musycc.c b/sys/dev/musycc/musycc.c index e0f92e1..d9d4b37 100644 --- a/sys/dev/musycc/musycc.c +++ b/sys/dev/musycc/musycc.c @@ -803,7 +803,7 @@ musycc_intr0(void *arg) case 0: if (er == 13) { /* SHT */ sc->chan[ch]->last_rxerr = time_second; - sc->chan[i]->short_error++; + sc->chan[ch]->short_error++; break; } default: |