mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 07:17:44 +00:00
build: fix mingw build
Commits2025356
andba72cb12
introduced typos. * src/util/virpci.c (virPCIIsVirtualFunction) [!__linux__]: Fix function name. * src/util/virutil.c (virGetDeviceID): Fix attribute spelling.
This commit is contained in:
parent
ec2cc0f860
commit
660db5bf72
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* virpci.c: helper APIs for managing host PCI devices
|
||||
*
|
||||
* Copyright (C) 2009-2012 Red Hat, Inc.
|
||||
* Copyright (C) 2009-2013 Red Hat, Inc.
|
||||
*
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
@ -2239,7 +2239,7 @@ virPCIGetVirtualFunctions(const char *sysfs_path ATTRIBUTE_UNUSED,
|
||||
}
|
||||
|
||||
int
|
||||
virPCIDeviceIsVirtualFunction(const char *vf_sysfs_device_link ATTRIBUTE_UNUSED)
|
||||
virPCIIsVirtualFunction(const char *vf_sysfs_device_link ATTRIBUTE_UNUSED)
|
||||
{
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR, "%s", _(unsupported));
|
||||
return -1;
|
||||
|
@ -3270,9 +3270,9 @@ virGetDeviceID(const char *path, int *maj, int *min)
|
||||
}
|
||||
#else
|
||||
int
|
||||
virGetDeviceID(const char *path ATRRIBUTE_UNUSED,
|
||||
int *maj ATRRIBUTE_UNUSED,
|
||||
int *min ATRRIBUTE_UNUSED)
|
||||
virGetDeviceID(const char *path ATTRIBUTE_UNUSED,
|
||||
int *maj ATTRIBUTE_UNUSED,
|
||||
int *min ATTRIBUTE_UNUSED)
|
||||
{
|
||||
|
||||
return -ENOSYS;
|
||||
|
Loading…
Reference in New Issue
Block a user