mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
util: Fix broken MinGW builds caused by commit 9bc01ad8
virPCIGetSysfsFile is conditionally compiled only on Linux platforms. Signed-off-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
parent
d524c9a893
commit
bf89139ebb
@ -3099,6 +3099,14 @@ virPCIGetVirtualFunctionIndex(const char *pf_sysfs_device_link ATTRIBUTE_UNUSED,
|
||||
|
||||
}
|
||||
|
||||
int
|
||||
virPCIGetSysfsFile(char *virPCIDeviceName ATTRIBUTE_UNUSED,
|
||||
char **pci_sysfs_device_link ATTRIBUTE_UNUSED)
|
||||
{
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
|
||||
return -1;
|
||||
}
|
||||
|
||||
int
|
||||
virPCIDeviceAddressGetSysfsFile(virPCIDeviceAddressPtr dev ATTRIBUTE_UNUSED,
|
||||
char **pci_sysfs_device_link ATTRIBUTE_UNUSED)
|
||||
|
Loading…
x
Reference in New Issue
Block a user