]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
lib: Debug print all arguments of virNetworkUpdate()
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 1 Mar 2021 18:22:48 +0000 (19:22 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 16 Mar 2021 08:17:08 +0000 (09:17 +0100)
Somehow, command argument was not printed into debug logs. It is
imperative that all arguments are logged.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/libvirt-network.c

index 92bdbacbff9a18b3c54b37142be53a8a39546b1b..b84389f7624b9f63f3f376bda7fbcc2b694eccad 100644 (file)
@@ -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();