On 05/26/2017 12:05 PM, Roman Bogorodskiy wrote:
- Include virerror.h for virReportSystemError
- Rename stub functions to match original function names
---
Pushed under the build breaker rule.
src/util/virfcp.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Thanks - some day I'll tire of wearing the pink bunny ears of shame or
will learn after trying walk through the same plate glass window again.
John
diff --git a/src/util/virfcp.c b/src/util/virfcp.c
index 3c7fab917..7660ba720 100644
--- a/src/util/virfcp.c
+++ b/src/util/virfcp.c
@@ -26,6 +26,7 @@
#include "viralloc.h"
#include "virfile.h"
+#include "virerror.h"
#include "virstring.h"
#include "virfcp.h"
@@ -80,14 +81,14 @@ virFCReadRportValue(const char *rport,
#else
bool
-virSysfsIsCapableFCRport(const char *rport ATTRIBUTE_UNUSED)
+virFCIsCapableRport(const char *rport ATTRIBUTE_UNUSED)
{
virReportSystemError(ENOSYS, "%s", _("Not supported on this
platform"));
return false;
}
int
-virSysfsReadFCRport(const char *rport ATTRIBUTE_UNUSED,
+virFCReadRportValue(const char *rport ATTRIBUTE_UNUSED,
const char *entry ATTRIBUTE_UNUSED,
char **result ATTRIBUTE_UNUSED)
{