summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormjacob <mjacob@cvs.openbsd.org>1999-12-03 03:48:57 +0000
committermjacob <mjacob@cvs.openbsd.org>1999-12-03 03:48:57 +0000
commit32778beea1336a2aaf06938ffc365be34138cc10 (patch)
treebe56a06337593cb900fdf3d69a0e280ecbf55146
parentb400215938435ac6d1420984e8f119e5a379680f (diff)
Amazingly neither the compiler nor review missed this silly botch.
-rw-r--r--sys/dev/ic/isp_inline.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/isp_inline.h b/sys/dev/ic/isp_inline.h
index 8846e504b53..bedb4f70867 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.1 1999/11/22 12:50:53 mjacob Exp $ */
+/* $OpenBSD: isp_inline.h,v 1.2 1999/12/03 03:48:56 mjacob Exp $ */
/*
* Qlogic Inline Functions
*
@@ -46,7 +46,7 @@ static INLINE void
isp_prtstst(sp)
ispstatusreq_t *sp;
{
- char *p, buf[172];
+ char buf[172], *p = buf;
sprintf(p, "states->");
if (sp->req_state_flags & RQSF_GOT_BUS) {
p += strlen(p);