From d8576d70e56df8d69ce39937df551cd04c90a65e Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Mon, 1 Mar 2021 19:22:48 +0100 Subject: [PATCH] lib: Debug print all arguments of virNetworkUpdate() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Somehow, command argument was not printed into debug logs. It is imperative that all arguments are logged. Signed-off-by: Michal Privoznik Reviewed-by: Ján Tomko --- src/libvirt-network.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libvirt-network.c b/src/libvirt-network.c index 92bdbacbff..b84389f762 100644 --- a/src/libvirt-network.c +++ b/src/libvirt-network.c @@ -530,8 +530,8 @@ virNetworkUpdate(virNetworkPtr network, unsigned int flags) { virConnectPtr conn; - VIR_DEBUG("network=%p, section=%d, parentIndex=%d, xml=%s, flags=0x%x", - network, section, parentIndex, xml, flags); + VIR_DEBUG("network=%p, command=%d, section=%d, parentIndex=%d, xml=%s, flags=0x%x", + network, command, section, parentIndex, xml, flags); virResetLastError();