vhost-user-scsi: fix printf format warning
commit3819af6e6a8fabe90957fa28bff0d9af56481662
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 28 Aug 2019 08:18:06 +0000 (28 12:18 +0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 17 Dec 2019 18:32:47 +0000 (17 19:32 +0100)
tree47bb837978f1826e5dc4c5b871098b8fc1be3939
parenta85d0bf361b8d717a9b15e551a05e3572b20a77e
vhost-user-scsi: fix printf format warning

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 <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
contrib/vhost-user-scsi/vhost-user-scsi.c