diff --git a/src/util/virpci.c b/src/util/virpci.c index d1881e55403a441d2dc51049d229cf1ac95ea6e6..4bb82aae59750fcccba7e310a279b06d2438d39f 100644 --- a/src/util/virpci.c +++ b/src/util/virpci.c @@ -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; diff --git a/src/util/virutil.c b/src/util/virutil.c index 55e1b52792300e42af0f9397e2d58aefcefebd63..7acda77f8909b86ec0bb1ac98178b2fd1c170eea 100644 --- a/src/util/virutil.c +++ b/src/util/virutil.c @@ -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;