diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-04-16 16:53:56 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-04-16 16:53:56 +0000 |
commit | 5ea3318abe1034f89430f381779ab4746376bae7 (patch) | |
tree | 956b4b359894581a876a6b869f3138e4daba610c | |
parent | 8d562aa46f5b0433757d6df9eb4c824ea84bf992 (diff) |
Nicer print when context is invalid.
-rw-r--r-- | sys/dev/ic/mfi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index b5bb8859782..f484d658bde 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfi.c,v 1.9 2006/04/16 16:41:29 marco Exp $ */ +/* $OpenBSD: mfi.c,v 1.10 2006/04/16 16:53:55 marco Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * @@ -270,7 +270,8 @@ mfi_intr(void *arg) ctx = pcq->mpc_reply_q[consumer]; pcq->mpc_reply_q[consumer] = MFI_INVALID_CTX; if (ctx == MFI_INVALID_CTX) - printf("%s: invalid context\n", DEVNAME(sc)); + printf("%s: invalid context, p: %d c: %d\n", + DEVNAME(sc), producer, consumer); else { /* remove from queue and call scsi_done */ claimed = 1; |