Fix build on non-Linux targets

This commit is contained in:
Daniel P. Berrange 2009-06-15 17:15:54 +00:00
parent 7c4ce7eb03
commit c4a6bc4977
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Mon Jun 15 18:15:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
Fix build on non-Linux targets
* src/nodeinfo.c: s/nodeError/nodeReportError/
Mon Jun 15 15:58:22 BST 2009 Daniel P. Berrange <berrange@redhat.com>
Fix build from tar.gz

View File

@ -170,8 +170,8 @@ int nodeGetInfo(virConnectPtr conn,
}
#else
/* XXX Solaris will need an impl later if they port QEMU driver */
nodeError(conn, VIR_ERR_NO_SUPPORT, "%s"
_("node info not implemented on this platform"));
nodeReportError(conn, VIR_ERR_NO_SUPPORT, "%s",
_("node info not implemented on this platform"));
return -1;
#endif
}