[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH 01/23] Replace use of networkReportError with virReportError



On 07/18/2012 12:40 PM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange redhat com>
> 
> Update the linux bridge driver to use virReportError instead
> of the networkReportError custom macro
> 
> Signed-off-by: Daniel P. Berrange <berrange 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 redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]