[PATCH] util: Fix build without polkit

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

 



Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
---
 src/util/virpolkit.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/util/virpolkit.c b/src/util/virpolkit.c
index 3bb60a5..3d2be61 100644
--- a/src/util/virpolkit.c
+++ b/src/util/virpolkit.c
@@ -329,13 +329,13 @@ int virPolkitCheckAuth(const char *actionid ATTRIBUTE_UNUSED,
 
 
 void
-virPolkitAgentDestroy(virCommandPtr cmd ATTRIBUTE_UNUSED)
+virPolkitAgentDestroy(virPolkitAgentPtr agent ATTRIBUTE_UNUSED)
 {
     return; /* do nothing */
 }
 
 
-virCommandPtr
+virPolkitAgentPtr
 virPolkitAgentCreate(void)
 {
     virReportError(VIR_ERR_AUTH_FAILED, "%s",
-- 
2.7.2

--
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]