diff options
author | mjacob <mjacob@FreeBSD.org> | 2006-03-03 07:04:43 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2006-03-03 07:04:43 +0000 |
commit | e694002eaf75e13722edca7c7301174e1024591f (patch) | |
tree | 17d441d57a532c518616d82bb55d6959c870edd8 /sys/dev/isp/isp_freebsd.c | |
parent | f9751f51382b1ac05bd9f3de449137b9be0c49c0 (diff) | |
download | FreeBSD-src-e694002eaf75e13722edca7c7301174e1024591f.zip FreeBSD-src-e694002eaf75e13722edca7c7301174e1024591f.tar.gz |
micro fix from justin
Diffstat (limited to 'sys/dev/isp/isp_freebsd.c')
-rw-r--r-- | sys/dev/isp/isp_freebsd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index a1535d3..07af650 100644 --- a/sys/dev/isp/isp_freebsd.c +++ b/sys/dev/isp/isp_freebsd.c @@ -239,7 +239,7 @@ isp_freeze_loopdown(struct ispsoftc *isp, char *msg) } static int -ispioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flags, struct thread *td) +ispioctl(struct cdev *dev, u_long c, caddr_t addr, int flags, struct thread *td) { struct ispsoftc *isp; int nr, retval = ENOTTY; @@ -254,7 +254,7 @@ ispioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flags, struct thread *t if (isp == NULL) return (ENXIO); - switch (cmd) { + switch (c) { #ifdef ISP_FW_CRASH_DUMP case ISP_GET_FW_CRASH_DUMP: { @@ -1187,7 +1187,7 @@ isp_abort_tgt_ccb(struct ispsoftc *isp, union ccb *ccb) } rls_lun_statep(isp, tptr); if (found) { - *ctr--; + (*ctr)--; accb->ccb_h.status = CAM_REQ_ABORTED; xpt_done(accb); return (CAM_REQ_CMP); |