Change xen_host_pci_sysfs_path() to return void
commit599d0c45615b7d099d256738a586d0f63bc707e6
authorCao jin <caoj.fnst@cn.fujitsu.com>
Sun, 17 Jan 2016 12:13:10 +0000 (17 20:13 +0800)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 21 Jan 2016 16:45:12 +0000 (21 16:45 +0000)
treef691d10c3ff0a2e8be965171b8ebd749cdb04e2f
parentc6b14aed77eeed434bdf3ff6cc0d873252c052ba
Change xen_host_pci_sysfs_path() to return void

And assert the snprintf() error, because user can do nothing in case of
snprintf() fail.

Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
hw/xen/xen-host-pci-device.c