]> git.proxmox.com Git - qemu.git/commit
virtio-9p: Use GCC_FMT_ATTR and fix a format warning
authorStefan Weil <weil@mail.berlios.de>
Mon, 27 Sep 2010 16:45:47 +0000 (18:45 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Sun, 3 Oct 2010 06:39:49 +0000 (06:39 +0000)
commitc9ba47dc5d8679efa4d5425aa27e0f8132920fb5
treeb51492652b27cde52636aad7869f244121dbffb6
parent6ea421fee15f5f2d32c2b471cb2336463d4e316b
virtio-9p: Use GCC_FMT_ATTR and fix a format warning

With the new gcc format warnings, gcc detected this:

/qemu/hw/virtio-9p.c:1040: error: format ‘%u’ expects type ‘unsigned int’, but argument 4 has type ‘__nlink_t’

Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/virtio-9p.c