[libvirt] [PATCH 01/23] Replace use of networkReportError with virReportError
Eric Blake
eblake at redhat.com
Wed Jul 18 23:50:57 UTC 2012
On 07/18/2012 12:40 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange at redhat.com>
>
> Update the linux bridge driver to use virReportError instead
> of the networkReportError custom macro
>
> Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
> ---
> cfg.mk | 1 -
> src/network/bridge_driver.c | 344 ++++++++++++++++++++++---------------------
> 2 files changed, 174 insertions(+), 171 deletions(-)
>
> @@ -849,9 +845,9 @@ networkStartRadvd(virNetworkObjPtr network)
>
> prefix = virNetworkIpDefPrefix(ipdef);
> if (prefix < 0) {
> - networkReportError(VIR_ERR_INTERNAL_ERROR,
> - _("bridge '%s' has an invalid prefix"),
> - network->def->bridge);
> + virReportError(VIR_ERR_INTERNAL_ERROR,
> + _("bridge '%s' has an invalid prefix"),
Double space; I pushed a cleanup as a separate patch, so you'll have a
merge conflict.
ACK.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120718/60326e1f/attachment-0001.sig>
More information about the libvir-list
mailing list