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

[libvirt] [PATCH] util: Fix build without polkit



Signed-off-by: Jiri Denemark <jdenemar redhat com>
---
 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


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