diff options
Diffstat (limited to 'ui/input.c')
-rw-r--r-- | ui/input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/input.c b/ui/input.c index 259fd1808d..9abef0cd78 100644 --- a/ui/input.c +++ b/ui/input.c @@ -269,7 +269,7 @@ void qmp_send_key(KeyValueList *keys, bool has_hold_time, int64_t hold_time, /* key down events */ keycode = keycode_from_keyvalue(p->value); if (keycode < 0x01 || keycode > 0xff) { - error_setg(errp, "invalid hex keycode 0x%x\n", keycode); + error_setg(errp, "invalid hex keycode 0x%x", keycode); free_keycodes(); return; } |