mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-04-01 20:05:19 +00: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;
|
||||
}
|
||||
#else
|
||||
/* On non-Linux and non-BSD there are no known inits */
|
||||
const char *virInitctlFifos[] = {
|
||||
NULL
|
||||
};
|
||||
|
||||
int virInitctlSetRunLevel(const char *fifo ATTRIBUTE_UNUSED,
|
||||
virInitctlRunLevel level ATTRIBUTE_UNUSED)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user