[Libguestfs] [PATCH] daemon: fix build without systemd-journal

Olaf Hering olaf at aepfle.de
Tue Aug 20 13:48:51 UTC 2013


Fix typo in OPTGROUP_JOURNAL_NOT_AVAILABLE
Define empty journal_finalize, called by mount.c

Signed-off-by: Olaf Hering <olaf at 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 */




More information about the Libguestfs mailing list