The virInitctlFifos list is exported, but lacks definition for
non-Linux and/or non-BSD case.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
Pushed under build breaker rule.
src/util/virinitctl.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/util/virinitctl.c b/src/util/virinitctl.c
index bbcbbb483d..6966e8a3e9 100644
--- a/src/util/virinitctl.c
+++ b/src/util/virinitctl.c
@@ -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)
{
--
2.19.2
Show replies by date