aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth D. Merry <ken@FreeBSD.org>2000-01-25 17:45:02 +0000
committerKenneth D. Merry <ken@FreeBSD.org>2000-01-25 17:45:02 +0000
commit56e3e24bfd56ab4a4f98d29c62e2db28c9369d7d (patch)
treee4880d3bb9adc1cd069b6013a7c73fe513a03316
parent937097d9cce60fa7a0b7f85407d2b7996b641012 (diff)
Notes
-rw-r--r--sys/cam/cam_periph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c
index 5bbd81c1428e..2b6445f61a7d 100644
--- a/sys/cam/cam_periph.c
+++ b/sys/cam/cam_periph.c
@@ -1439,7 +1439,7 @@ cam_periph_error(union ccb *ccb, cam_flags camflags,
"CAM_AUTOSENSE_FAILED");
/* NOTREACHED */
error = EIO;
- } else if (ccb->ccb_h.retry_count > 0) {
+ } else if (ccb->ccb_h.retry_count == 0) {
/*
* XXX KDM shouldn't there be a better
* argument to return??