Olaf Hering
2013-Aug-20 13:48 UTC
[Libguestfs] [PATCH] daemon: fix build without systemd-journal
Fix typo in OPTGROUP_JOURNAL_NOT_AVAILABLE
Define empty journal_finalize, called by mount.c
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
daemon/journal.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/daemon/journal.c b/daemon/journal.c
index 0cb50e3..97e1874 100644
--- a/daemon/journal.c
+++ b/daemon/journal.c
@@ -216,6 +216,11 @@ do_journal_set_data_threshold (int64_t threshold)
#else /* !HAVE_SD_JOURNAL */
-OPTGROUP_SD_JOURNAL_NOT_AVAILABLE
+OPTGROUP_JOURNAL_NOT_AVAILABLE
+
+void
+journal_finalize (void)
+{
+}
#endif /* !HAVE_SD_JOURNAL */
Reasonably Related Threads
- [PATCH] build: check for single libsystemd before libsystemd-journal
- OPTGROUP_SD_JOURNAL_NOT_AVAILABLE
- [PATCH] tests: change noinst to check
- [PATCH] lib: avoid pragma usage in journal.c
- [PATCH v2 4/5] daemon: move Mount.umount_all to new Mount_utils module
