diff options
| author | Matt Jacob <mjacob@FreeBSD.org> | 2000-07-18 07:20:53 +0000 |
|---|---|---|
| committer | Matt Jacob <mjacob@FreeBSD.org> | 2000-07-18 07:20:53 +0000 |
| commit | e9ddc9edcf85a20b06b2b53b15f52cda97c972fc (patch) | |
| tree | bce21db55cfb9ab2740d10ba72ebd5c603a5da06 | |
| parent | 52a85ef4ff76f2a4d95a912a35515d8468655ec7 (diff) | |
Notes
| -rw-r--r-- | sys/dev/isp/isp_inline.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_inline.h b/sys/dev/isp/isp_inline.h index 4b8df5abbb9c..c6be127cde3c 100644 --- a/sys/dev/isp/isp_inline.h +++ b/sys/dev/isp/isp_inline.h @@ -45,7 +45,8 @@ isp_prtstst(sp) ispstatusreq_t *sp; { char buf[172]; - sprintf(buf, "states=>"); + buf[0] = 0; + STRNCAT(buf, "states=>", sizeof buf); if (sp->req_state_flags & RQSF_GOT_BUS) { STRNCAT(buf, " GOT_BUS", sizeof buf); } |
