mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-04 21:47:16 +03:00
Fix compile errors in remote.c and newly added audit code
This commit is contained in:
parent
9bd3cce0d2
commit
83e5711418
@ -2233,8 +2233,6 @@ remoteDispatchDomainReboot (struct qemud_server *server ATTRIBUTE_UNUSED,
|
|||||||
void *ret ATTRIBUTE_UNUSED)
|
void *ret ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
virDomainPtr dom;
|
virDomainPtr dom;
|
||||||
char uuidstr[VIR_UUID_STRING_BUFLEN];
|
|
||||||
int r;
|
|
||||||
|
|
||||||
dom = get_nonnull_domain (conn, args->dom);
|
dom = get_nonnull_domain (conn, args->dom);
|
||||||
if (dom == NULL) {
|
if (dom == NULL) {
|
||||||
@ -2286,6 +2284,8 @@ remoteDispatchDomainResume (struct qemud_server *server ATTRIBUTE_UNUSED,
|
|||||||
void *ret ATTRIBUTE_UNUSED)
|
void *ret ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
virDomainPtr dom;
|
virDomainPtr dom;
|
||||||
|
char uuidstr[VIR_UUID_STRING_BUFLEN];
|
||||||
|
int r;
|
||||||
|
|
||||||
dom = get_nonnull_domain (conn, args->dom);
|
dom = get_nonnull_domain (conn, args->dom);
|
||||||
if (dom == NULL) {
|
if (dom == NULL) {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* audit.h: auditing support
|
* virtaudit.c: auditing support
|
||||||
*
|
*
|
||||||
* Copyright (C) 2010 Red Hat, Inc.
|
* Copyright (C) 2010 Red Hat, Inc.
|
||||||
*
|
*
|
||||||
@ -80,7 +80,7 @@ void virAuditSend(const char *file ATTRIBUTE_UNUSED, const char *func, size_t li
|
|||||||
void virAuditSend(const char *file ATTRIBUTE_UNUSED, const char *func, size_t linenr,
|
void virAuditSend(const char *file ATTRIBUTE_UNUSED, const char *func, size_t linenr,
|
||||||
const char *clienttty ATTRIBUTE_UNUSED,
|
const char *clienttty ATTRIBUTE_UNUSED,
|
||||||
const char *clientaddr ATTRIBUTE_UNUSED,
|
const char *clientaddr ATTRIBUTE_UNUSED,
|
||||||
enum virAuditRecordType type, bool success,
|
enum virAuditRecordType type ATTRIBUTE_UNUSED, bool success,
|
||||||
const char *fmt, ...)
|
const char *fmt, ...)
|
||||||
#endif
|
#endif
|
||||||
{
|
{
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* audit.h: auditing support
|
* virtaudit.h: auditing support
|
||||||
*
|
*
|
||||||
* Copyright (C) 2010 Red Hat, Inc.
|
* Copyright (C) 2010 Red Hat, Inc.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user