mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
util: fix prototype of virDaemonSetupLogging
The commit that added error checking to this function
forgot to adjust the WIN32 stub.
Fixes: a873924e36
Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
cfb67c8cf4
commit
2a9264b8b2
@ -275,17 +275,17 @@ int virDaemonForkIntoBackground(const char *argv0 G_GNUC_UNUSED)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void virDaemonSetupLogging(const char *daemon_name G_GNUC_UNUSED,
|
int virDaemonSetupLogging(const char *daemon_name G_GNUC_UNUSED,
|
||||||
unsigned int log_level G_GNUC_UNUSED,
|
unsigned int log_level G_GNUC_UNUSED,
|
||||||
char *log_filters G_GNUC_UNUSED,
|
char *log_filters G_GNUC_UNUSED,
|
||||||
char *log_outputs G_GNUC_UNUSED,
|
char *log_outputs G_GNUC_UNUSED,
|
||||||
bool privileged G_GNUC_UNUSED,
|
bool privileged G_GNUC_UNUSED,
|
||||||
bool verbose G_GNUC_UNUSED,
|
bool verbose G_GNUC_UNUSED,
|
||||||
bool godaemon G_GNUC_UNUSED)
|
bool godaemon G_GNUC_UNUSED)
|
||||||
{
|
{
|
||||||
/* NOOP */
|
/* NOOP */
|
||||||
errno = ENOTSUP;
|
errno = ENOTSUP;
|
||||||
return;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
int virDaemonUnixSocketPaths(const char *sock_prefix G_GNUC_UNUSED,
|
int virDaemonUnixSocketPaths(const char *sock_prefix G_GNUC_UNUSED,
|
||||||
|
Loading…
Reference in New Issue
Block a user