From: AlexChen Date: Mon, 19 Oct 2020 12:12:02 +0000 (+0800) Subject: io: Don't use '#' flag of printf format X-Git-Tag: v5.2.0-rc0~14^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=77b7829e755aec2f74601190a4521617b6dab49c;p=thirdparty%2Fqemu.git io: Don't use '#' flag of printf format Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: AlexChen Signed-off-by: Daniel P. Berrangé --- diff --git a/io/channel-websock.c b/io/channel-websock.c index bb545fa3271..03c1f7cb62f 100644 --- a/io/channel-websock.c +++ b/io/channel-websock.c @@ -746,7 +746,7 @@ static int qio_channel_websock_decode_header(QIOChannelWebsock *ioc, opcode != QIO_CHANNEL_WEBSOCK_OPCODE_CLOSE && opcode != QIO_CHANNEL_WEBSOCK_OPCODE_PING && opcode != QIO_CHANNEL_WEBSOCK_OPCODE_PONG) { - error_setg(errp, "unsupported opcode: %#04x; only binary, close, " + error_setg(errp, "unsupported opcode: 0x%04x; only binary, close, " "ping, and pong websocket frames are supported", opcode); qio_channel_websock_write_close( ioc, QIO_CHANNEL_WEBSOCK_STATUS_INVALID_DATA ,