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

aea863
autofs-5.1.4 - update build info with systemd
aea863
aea863
From: Ian Kent <raven@themaw.net>
aea863
aea863
Update the show_build_info() function to include systemd
aea863
build info.
aea863
aea863
Signed-off-by: Ian Kent <raven@themaw.net>
aea863
---
aea863
 CHANGELOG          |    1 +
aea863
 daemon/automount.c |    9 +++++++++
aea863
 2 files changed, 10 insertions(+)
aea863
aea863
--- autofs-5.1.4.orig/CHANGELOG
aea863
+++ autofs-5.1.4/CHANGELOG
aea863
@@ -40,6 +40,7 @@ xx/xx/2018 autofs-5.1.5
aea863
 - fix hesiod string check in master_parse().
aea863
 - remove autofs4 module load code.
aea863
 - add NULL check in prepare_attempt_prefix().
aea863
+- update build info with systemd.
aea863
 
aea863
 19/12/2017 autofs-5.1.4
aea863
 - fix spec file url.
aea863
--- autofs-5.1.4.orig/daemon/automount.c
aea863
+++ autofs-5.1.4/daemon/automount.c
aea863
@@ -1951,6 +1951,15 @@ static void show_build_info(void)
aea863
 	}
aea863
 #endif
aea863
 
aea863
+#ifdef WITH_SYSTEMD
aea863
+	printf("WITH_SYSTEMD ");
aea863
+	count = count + 13;
aea863
+
aea863
+	if (count > 60) {
aea863
+		printf("\n  ");
aea863
+		count = 0;
aea863
+	}
aea863
+#endif
aea863
 
aea863
 #ifdef WITH_HESIOD
aea863
 	printf("WITH_HESIOD ");