util: Fix build without polkit
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
4e17ff796f
commit
254b028943
@ -329,13 +329,13 @@ int virPolkitCheckAuth(const char *actionid ATTRIBUTE_UNUSED,
|
|||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
virPolkitAgentDestroy(virCommandPtr cmd ATTRIBUTE_UNUSED)
|
virPolkitAgentDestroy(virPolkitAgentPtr agent ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
return; /* do nothing */
|
return; /* do nothing */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
virCommandPtr
|
virPolkitAgentPtr
|
||||||
virPolkitAgentCreate(void)
|
virPolkitAgentCreate(void)
|
||||||
{
|
{
|
||||||
virReportError(VIR_ERR_AUTH_FAILED, "%s",
|
virReportError(VIR_ERR_AUTH_FAILED, "%s",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user