summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2001-04-30 21:02:57 +0000
committerken <ken@FreeBSD.org>2001-04-30 21:02:57 +0000
commit9dbba1fac37004c6b391a3d372743a296bc6f559 (patch)
treede1c2dcbc5a6239dedfc842c29f5ea846ecbb5c0
parentfea0eeaf7c49c022ff491e21fc2e4caa216f9d34 (diff)
downloadFreeBSD-src-9dbba1fac37004c6b391a3d372743a296bc6f559.zip
FreeBSD-src-9dbba1fac37004c6b391a3d372743a296bc6f559.tar.gz
In camperiphscsisenseerror(), don't return an error when the error action
is SS_NOP. Submitted by: joerg
-rw-r--r--sys/cam/cam_periph.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/cam/cam_periph.c b/sys/cam/cam_periph.c
index bc00017..18bf45a 100644
--- a/sys/cam/cam_periph.c
+++ b/sys/cam/cam_periph.c
@@ -1369,6 +1369,9 @@ camperiphscsisenseerror(union ccb *ccb, cam_flags camflags,
switch (err_action & SS_MASK) {
case SS_NOP:
+ action_string = "No Recovery Action Needed";
+ error = 0;
+ break;
case SS_RETRY:
action_string = "Retrying Command";
error = ERESTART;
OpenPOWER on IntegriCloud