diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2010-08-20 17:00:41 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2010-08-20 17:00:41 +0000 |
commit | 374f75aed1279c61227d40b30b701863bc0e6ebb (patch) | |
tree | 4e6310848f8ee7414bb8ac051c112c8d4830c599 /sys/dev/ic/trm.c | |
parent | afd62677522bf05b7acdd794f4e216841b7af129 (diff) |
add format strings implied by surplus arguments
found via the clang static analyser
Diffstat (limited to 'sys/dev/ic/trm.c')
-rw-r--r-- | sys/dev/ic/trm.c | 4 |
1 files changed, 2 insertions, 2 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); |