diff options
| -rw-r--r-- | sys/cam/cam_periph.c | 2 |
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?? |
