diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/trm.c | 4 | ||||
-rw-r--r-- | sys/netbt/hci_event.c | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/ic/trm.c b/sys/dev/ic/trm.c index 8788eace01d..df00455684b 100644 --- a/sys/dev/ic/trm.c +++ b/sys/dev/ic/trm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trm.c,v 1.21 2010/06/28 18:31:02 krw Exp $ +/* $OpenBSD: trm.c,v 1.22 2010/08/20 17:00:40 jsg Exp $ * ------------------------------------------------------------ * O.S : OpenBSD * File Name : trm.c @@ -641,7 +641,7 @@ trm_timeout(void *arg1) if (xs != NULL) { sc = xs->sc_link->adapter_softc; sc_print_addr(xs->sc_link); - printf("SCSI OpCode 0x%02x timed out\n", + printf("%s: SCSI OpCode 0x%02x timed out\n", sc->sc_device.dv_xname, xs->cmd->opcode); pSRB->SRBFlag |= TRM_SCSI_TIMED_OUT; trm_FinishSRB(sc, pSRB); diff --git a/sys/netbt/hci_event.c b/sys/netbt/hci_event.c index 0c408e777b4..4715d3cf665 100644 --- a/sys/netbt/hci_event.c +++ b/sys/netbt/hci_event.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hci_event.c,v 1.8 2008/11/22 04:42:58 uwe Exp $ */ +/* $OpenBSD: hci_event.c,v 1.9 2010/08/20 17:00:40 jsg Exp $ */ /* $NetBSD: hci_event.c,v 1.18 2008/04/24 11:38:37 ad Exp $ */ /*- @@ -265,7 +265,8 @@ hci_event_command_status(struct hci_unit *unit, struct mbuf *m) break; DPRINTFN(1, - "CommandStatus opcode (%03x|%04x) failed (status=0x%02x)\n", + "(%s) CommandStatus opcode (%03x|%04x)" + " failed (status=0x%02x)\n", device_xname(unit->hci_dev), HCI_OGF(ep.opcode), HCI_OCF(ep.opcode), ep.status); |