summaryrefslogtreecommitdiffstats
path: root/hw/bt/hid.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/bt/hid.c')
-rw-r--r--hw/bt/hid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/bt/hid.c b/hw/bt/hid.c
index f6affbbb44..056291f9b5 100644
--- a/hw/bt/hid.c
+++ b/hw/bt/hid.c
@@ -419,8 +419,8 @@ static void bt_hid_interrupt_sdu(void *opaque, const uint8_t *data, int len)
return;
bad:
- fprintf(stderr, "%s: bad transaction on Interrupt channel.\n",
- __FUNCTION__);
+ error_report("%s: bad transaction on Interrupt channel.",
+ __func__);
}
/* "Virtual cable" plug/unplug event. */