mirror of
https://github.com/opnsense/src.git
synced 2026-04-24 23:57:30 -04:00
Report the number of remaining retries when we have an error that
we're retrying.
This commit is contained in:
parent
d88fe103eb
commit
bc40691e40
1 changed files with 5 additions and 2 deletions
|
|
@ -1911,8 +1911,11 @@ cam_periph_error(union ccb *ccb, cam_flags camflags,
|
|||
error, action_string);
|
||||
} else if (action_string != NULL)
|
||||
xpt_print(ccb->ccb_h.path, "%s\n", action_string);
|
||||
else
|
||||
xpt_print(ccb->ccb_h.path, "Retrying command\n");
|
||||
else {
|
||||
xpt_print(ccb->ccb_h.path,
|
||||
"Retrying command, %d more tries remain\n",
|
||||
ccb->ccb_h.retry_count);
|
||||
}
|
||||
}
|
||||
|
||||
if (devctl_err && (error != 0 || (action & SSQ_PRINT_SENSE) != 0))
|
||||
|
|
|
|||
Loading…
Reference in a new issue