summaryrefslogtreecommitdiff
path: root/sys/dev/isp/isp_inline.h
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2001-03-02 04:56:56 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2001-03-02 04:56:56 +0000
commit7c59cd9e88297c534e511b6b5ea66b435f2c6095 (patch)
tree195ba12bf6a6b4ef4b70481aa98cdba6afb5a314 /sys/dev/isp/isp_inline.h
parentd499b3c05ef2dab001e01ba256869941c152d2cd (diff)
Notes
Diffstat (limited to 'sys/dev/isp/isp_inline.h')
-rw-r--r--sys/dev/isp/isp_inline.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_inline.h b/sys/dev/isp/isp_inline.h
index 8875fccda692..cd7bd3d07bc3 100644
--- a/sys/dev/isp/isp_inline.h
+++ b/sys/dev/isp/isp_inline.h
@@ -179,14 +179,15 @@ isp_print_qentry(isp, msg, idx, arg)
int amt, i, j;
u_int8_t *ptr = arg;
+ isp_prt(isp, ISP_LOGALL, "%s index %d=>", msg, idx);
for (buf[0] = 0, amt = i = 0; i < 4; i++) {
buf[0] = 0;
+ SNPRINTF(buf, TBA, " ");
for (j = 0; j < (QENTRY_LEN >> 2); j++) {
SNPRINTF(buf, TBA, "%s %02x", buf, ptr[amt++] & 0xff);
}
- STRNCAT(buf, "\n", TBA);
+ isp_prt(isp, ISP_LOGALL, buf);
}
- isp_prt(isp, ISP_LOGALL, "%s index %d:%s", msg, idx, buf);
}
static INLINE void