]> xenbits.xensource.com Git - libvirt.git/commitdiff
build: fix mingw build
authorEric Blake <eblake@redhat.com>
Fri, 15 Feb 2013 22:01:44 +0000 (15:01 -0700)
committerEric Blake <eblake@redhat.com>
Fri, 15 Feb 2013 22:05:25 +0000 (15:05 -0700)
Commits 2025356 and ba72cb12 introduced typos.

* src/util/virpci.c (virPCIIsVirtualFunction) [!__linux__]: Fix
function name.
* src/util/virutil.c (virGetDeviceID): Fix attribute spelling.

src/util/virpci.c
src/util/virutil.c

index d1881e55403a441d2dc51049d229cf1ac95ea6e6..4bb82aae59750fcccba7e310a279b06d2438d39f 100644 (file)
@@ -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;
index 55e1b52792300e42af0f9397e2d58aefcefebd63..7acda77f8909b86ec0bb1ac98178b2fd1c170eea 100644 (file)
@@ -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;