1
0
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:
Michal Privoznik 2019-02-07 12:47:26 +01:00
parent b9e8a6f7e5
commit 988a0e0e38

View File

@ -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)
{