diff options
author | 2001-03-02 04:49:02 +0000 | |
---|---|---|
committer | 2001-03-02 04:49:02 +0000 | |
commit | 1c7c71d58db0254c96ee2e74544e5fb8efbd4394 (patch) | |
tree | 895cd47d388eee3c665f65bcbcbde522f4dfcf42 | |
parent | Support video controllers which have two outputs which in openfirmware have (diff) | |
download | wireguard-openbsd-1c7c71d58db0254c96ee2e74544e5fb8efbd4394.tar.xz wireguard-openbsd-1c7c71d58db0254c96ee2e74544e5fb8efbd4394.zip |
Fix isp_print_qentry to print all four lines- it's been broken for months.
-rw-r--r-- | sys/dev/ic/isp_inline.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ic/isp_inline.h b/sys/dev/ic/isp_inline.h index ff62abd9593..e896fed280b 100644 --- a/sys/dev/ic/isp_inline.h +++ b/sys/dev/ic/isp_inline.h @@ -1,4 +1,4 @@ -/* $OpenBSD: isp_inline.h,v 1.6 2001/02/12 23:45:33 mjacob Exp $ */ +/* $OpenBSD: isp_inline.h,v 1.7 2001/03/02 04:49:02 mjacob Exp $ */ /* * Qlogic Host Adapter Inline Functions * @@ -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 |