mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
virinitctl: Provide a stub list of init fifos for non-Linux
The virInitctlFifos list is exported, but lacks definition for non-Linux and/or non-BSD case. Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
b9e8a6f7e5
commit
988a0e0e38
@ -184,6 +184,11 @@ virInitctlSetRunLevel(const char *fifo,
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
/* On non-Linux and non-BSD there are no known inits */
|
||||||
|
const char *virInitctlFifos[] = {
|
||||||
|
NULL
|
||||||
|
};
|
||||||
|
|
||||||
int virInitctlSetRunLevel(const char *fifo ATTRIBUTE_UNUSED,
|
int virInitctlSetRunLevel(const char *fifo ATTRIBUTE_UNUSED,
|
||||||
virInitctlRunLevel level ATTRIBUTE_UNUSED)
|
virInitctlRunLevel level ATTRIBUTE_UNUSED)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user