[PATCH 1/2] lock: Fix loading of config file for the lock daemon

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

 



'log_outputs' would be read into the variable for log_filters
---
 src/locking/lock_daemon_config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/locking/lock_daemon_config.c b/src/locking/lock_daemon_config.c
index 9362b2b74..20824b870 100644
--- a/src/locking/lock_daemon_config.c
+++ b/src/locking/lock_daemon_config.c
@@ -96,7 +96,7 @@ virLockDaemonConfigLoadOptions(virLockDaemonConfigPtr data,
         return -1;
     if (virConfGetValueString(conf, "log_filters", &data->log_filters) < 0)
         return -1;
-    if (virConfGetValueString(conf, "log_outputs", &data->log_filters) < 0)
+    if (virConfGetValueString(conf, "log_outputs", &data->log_outputs) < 0)
         return -1;
     if (virConfGetValueUInt(conf, "max_clients", &data->max_clients) < 0)
         return -1;
-- 
2.11.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[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