mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-27 23:15:18 +00:00
util: fix build on non-Linux
Fix typo in virNetDevPFGetVF() stub: ATTRUBUTE_UNUSED -> ATTRIBUTE_UNUSED. While here, use common indent style for arguments in virNetDevGetVirtualFunctionIndex() stub.
This commit is contained in:
parent
9e2465834f
commit
a7496ad29a
@ -1493,8 +1493,8 @@ virNetDevIsVirtualFunction(const char *ifname ATTRIBUTE_UNUSED)
|
|||||||
|
|
||||||
int
|
int
|
||||||
virNetDevGetVirtualFunctionIndex(const char *pfname ATTRIBUTE_UNUSED,
|
virNetDevGetVirtualFunctionIndex(const char *pfname ATTRIBUTE_UNUSED,
|
||||||
const char *vfname ATTRIBUTE_UNUSED,
|
const char *vfname ATTRIBUTE_UNUSED,
|
||||||
int *vf_index ATTRIBUTE_UNUSED)
|
int *vf_index ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
virReportSystemError(ENOSYS, "%s",
|
virReportSystemError(ENOSYS, "%s",
|
||||||
_("Unable to get virtual function index on this platform"));
|
_("Unable to get virtual function index on this platform"));
|
||||||
@ -1513,7 +1513,7 @@ virNetDevGetPhysicalFunction(const char *ifname ATTRIBUTE_UNUSED,
|
|||||||
int
|
int
|
||||||
virNetDevPFGetVF(const char *pfname ATTRIBUTE_UNUSED,
|
virNetDevPFGetVF(const char *pfname ATTRIBUTE_UNUSED,
|
||||||
int vf ATTRIBUTE_UNUSED,
|
int vf ATTRIBUTE_UNUSED,
|
||||||
char **vfname ATTRUBUTE_UNUSED)
|
char **vfname ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
virReportSystemError(ENOSYS, "%s",
|
virReportSystemError(ENOSYS, "%s",
|
||||||
_("Unable to get virtual function name on this platform"));
|
_("Unable to get virtual function name on this platform"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user