[libvirt] [PATCH] get rid of virBufferAsprintf where possible

Michal Privoznik mprivozn at redhat.com
Tue May 7 10:58:13 UTC 2013


On 07.05.2013 12:37, Ján Tomko wrote:
> Use virBufferAddLit or virBufferAddChar instead.
> ---
>  src/conf/domain_conf.c              | 14 +++++++-------
>  src/conf/network_conf.c             |  4 ++--
>  src/conf/storage_conf.c             |  6 +++---
>  src/nwfilter/nwfilter_learnipaddr.c |  2 +-
>  src/phyp/phyp_driver.c              | 28 +++++++++++++--------------
>  src/qemu/qemu_command.c             | 38 ++++++++++++++++++-------------------
>  src/qemu/qemu_domain.c              |  2 +-
>  src/qemu/qemu_migration.c           |  4 ++--
>  src/security/virt-aa-helper.c       |  2 +-
>  src/util/virlog.c                   |  2 +-
>  src/vmx/vmx.c                       |  2 +-
>  tools/virsh-domain.c                | 12 ++++++------
>  12 files changed, 58 insertions(+), 58 deletions(-)

ACK.

However, do we want a syntax0check rule for this?

Michal




More information about the libvir-list mailing list