Re: [PATCH] vhost-user-scsi: fix printf format warning

2019-12-11 Thread Thomas Huth
On 11/12/2019 15.23, Paolo Bonzini wrote: > From: Marc-André Lureau > > Fixes: > ../contrib/vhost-user-scsi/vhost-user-scsi.c:118:57: error: format specifies > type 'unsigned char' but the argument has type 'int' [-Werror,-Wformat] > g_warning("Unable to determine cdb len (0x%02hhX)", c

[PATCH] vhost-user-scsi: fix printf format warning

2019-12-11 Thread Paolo Bonzini
From: Marc-André Lureau Fixes: ../contrib/vhost-user-scsi/vhost-user-scsi.c:118:57: error: format specifies type 'unsigned char' but the argument has type 'int' [-Werror,-Wformat] g_warning("Unable to determine cdb len (0x%02hhX)", cdb[0] >> 5); Signed-off-by: Marc-André Lureau Signed