Blame SOURCES/autofs-5.1.4-update-build-info-with-systemd.patch

306fa1
autofs-5.1.4 - update build info with systemd
306fa1
306fa1
From: Ian Kent <raven@themaw.net>
306fa1
306fa1
Update the show_build_info() function to include systemd
306fa1
build info.
306fa1
306fa1
Signed-off-by: Ian Kent <raven@themaw.net>
306fa1
---
306fa1
 CHANGELOG          |    1 +
306fa1
 daemon/automount.c |    9 +++++++++
306fa1
 2 files changed, 10 insertions(+)
306fa1
306fa1
--- autofs-5.0.7.orig/CHANGELOG
306fa1
+++ autofs-5.0.7/CHANGELOG
306fa1
@@ -312,6 +312,7 @@
306fa1
 - fix amd parser opts option handling.
306fa1
 - fix incorrect locking in sss lookup.
306fa1
 - add NULL check in prepare_attempt_prefix().
306fa1
+- update build info with systemd.
306fa1
 
306fa1
 25/07/2012 autofs-5.0.7
306fa1
 =======================
306fa1
--- autofs-5.0.7.orig/daemon/automount.c
306fa1
+++ autofs-5.0.7/daemon/automount.c
306fa1
@@ -1952,6 +1952,15 @@ static void show_build_info(void)
306fa1
 	}
306fa1
 #endif
306fa1
 
306fa1
+#ifdef WITH_SYSTEMD
306fa1
+	printf("WITH_SYSTEMD ");
306fa1
+	count = count + 13;
306fa1
+
306fa1
+	if (count > 60) {
306fa1
+		printf("\n  ");
306fa1
+		count = 0;
306fa1
+	}
306fa1
+#endif
306fa1
 
306fa1
 #ifdef WITH_HESIOD
306fa1
 	printf("WITH_HESIOD ");