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/netbt | |
parent | afd62677522bf05b7acdd794f4e216841b7af129 (diff) |
add format strings implied by surplus arguments
found via the clang static analyser
Diffstat (limited to 'sys/netbt')
-rw-r--r-- | sys/netbt/hci_event.c | 5 |
1 files changed, 3 insertions, 2 deletions
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); |