[libvirt] [PATCH 1/2] util: use g_vsnprintf
Peter Krempa
pkrempa at redhat.com
Wed Nov 13 16:07:42 UTC 2019
On Wed, Nov 13, 2019 at 10:33:08 +0100, Ján Tomko wrote:
> Instead of vsnprintf from gnulib, use g_vsnprintf from GLib.
>
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
> src/util/virerror.c | 4 ++--
> src/util/virtypedparam.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
I think you should add a syntax-check rule forbidding use of plain
vsnprintf.
With that:
Reviewed-by: Peter Krempa <pkrempa at redhat.com>
I queued the appropriate patch to bootstrap.conf to my branch of the
kill-a-gnulib-module-a-day initiative.
More information about the libvir-list
mailing list