contrib/libvhost-user: Fix bad printf format specifiers
commit5fd6921cccdbc1428c888d451026ee4fd152c936
authorAlexChen <alex.chen@huawei.com>
Wed, 4 Nov 2020 10:23:02 +0000 (4 18:23 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 17 Nov 2020 09:16:55 +0000 (17 04:16 -0500)
tree3bac17ce545eedb37b311458e3ed554e1ccbc9fa
parent727a06326c9ebf4ad8ed80eb533278bc60202804
contrib/libvhost-user: Fix bad printf format specifiers

We should use printf format specifier "%u" instead of "%d" for
argument of type "unsigned int".

Reported-by: Euler Robot <euler.robot@huawei.com>
Signed-off-by: Alex Chen <alex.chen@huawei.com>
Message-Id: <5FA28106.6000901@huawei.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
contrib/libvhost-user/libvhost-user.c