[PATCH 1/2] lib: Debug print all arguments of virNetworkUpdate()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Somehow, command argument was not printed into debug logs. It is
imperative that all arguments are logged.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---
 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();
 
-- 
2.26.2




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux