virpci: report dev->name in virPCIGetHeaderType error message
commit0a5a5477258dc494ccc9536813bdede7ab76aa26
authorDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 21 Jun 2019 15:58:28 +0000 (21 12:58 -0300)
committerAndrea Bolognani <abologna@redhat.com>
Mon, 24 Jun 2019 16:06:59 +0000 (24 18:06 +0200)
tree2142f64f83e71bbe753e5b234a9f253fae087464
parenta190f86729d7190b93f9552528cf18ec430e99c4
virpci: report dev->name in virPCIGetHeaderType error message

Trivial change. Adding the name of the device that has an
unknown PCI header type in that function helps when debugging
PCI code.

Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
src/util/virpci.c