Fix panic message to indicate right action that was improper.
Reviewed by: scottl, ken Differential Revision: https://reviews.freebsd.org/D22295
This commit is contained in:
parent
2961e6efeb
commit
fb6ea34a3a
@ -1686,7 +1686,7 @@ da_periph_release_locked(struct cam_periph *periph, da_ref_token token)
|
||||
da_ref_text[token], token);
|
||||
cnt = atomic_fetchadd_int(&softc->ref_flags[token], -1);
|
||||
if (cnt != 1)
|
||||
panic("Unholding %d with cnt = %d", token, cnt);
|
||||
panic("releasing (locked) %d with cnt = %d", token, cnt);
|
||||
cam_periph_release_locked(periph);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user