[libvirt] [PATCH] xen: Replace statsErrorFunc with a macro

Eric Blake eblake at redhat.com
Sat Apr 16 15:01:13 UTC 2011


On 04/16/2011 03:31 AM, Matthias Bolte wrote:
> Also mark error messages in block_stats.c for translation, add the
> new macro to the msg_gen functions in cfg.mk and add block_stats.c
> to po/POTFILES.in
> ---
>  cfg.mk                |    1 +
>  po/POTFILES.in        |    1 +
>  src/xen/block_stats.c |   79 ++++++++++++++++++------------------------------
>  3 files changed, 32 insertions(+), 49 deletions(-)
> 
> diff --git a/cfg.mk b/cfg.mk
> index 94db937..e54d170 100644
> --- a/cfg.mk
> +++ b/cfg.mk
> @@ -420,6 +420,7 @@ msg_gen_function += xenUnifiedError
>  msg_gen_function += xenXMError
>  msg_gen_function += VIR_ERROR
>  msg_gen_function += VIR_ERROR0
> +msg_gen_function += statsError

Nit - is it worth sorting these lines by function name?

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110416/4f291948/attachment-0001.sig>


More information about the libvir-list mailing list