summaryrefslogtreecommitdiffstats
path: root/sys/cam/cam_xpt.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2014-05-08 07:01:54 +0000
committermav <mav@FreeBSD.org>2014-05-08 07:01:54 +0000
commit9f15393e223380a093db8b3342592a11ee7f6fa5 (patch)
tree2e5ff1e4106d51b9334b68779f7c8fcc73bed001 /sys/cam/cam_xpt.c
parent2d5dc4736b59caac5805f2d92e46374abedecf49 (diff)
downloadFreeBSD-src-9f15393e223380a093db8b3342592a11ee7f6fa5.zip
FreeBSD-src-9f15393e223380a093db8b3342592a11ee7f6fa5.tar.gz
MFC r264406:
Report more readable state "-" for idle CAM scan thread.
Diffstat (limited to 'sys/cam/cam_xpt.c')
-rw-r--r--sys/cam/cam_xpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c
index 2954415..bfad6dd 100644
--- a/sys/cam/cam_xpt.c
+++ b/sys/cam/cam_xpt.c
@@ -768,7 +768,7 @@ xpt_scanner_thread(void *dummy)
for (;;) {
if (TAILQ_EMPTY(&xsoftc.ccb_scanq))
msleep(&xsoftc.ccb_scanq, &xsoftc.xpt_topo_lock, PRIBIO,
- "ccb_scanq", 0);
+ "-", 0);
if ((ccb = (union ccb *)TAILQ_FIRST(&xsoftc.ccb_scanq)) != NULL) {
TAILQ_REMOVE(&xsoftc.ccb_scanq, &ccb->ccb_h, sim_links.tqe);
xpt_unlock_buses();
OpenPOWER on IntegriCloud