From 100cef0d2d78b29908648731bb633bd630019e53 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 09 2020 08:03:58 +0000 Subject: Apply patch autofs-5.1.4-update-build-info-with-systemd.patch patch_name: autofs-5.1.4-update-build-info-with-systemd.patch present_in_specfile: true --- diff --git a/CHANGELOG b/CHANGELOG index d39ce27..d4e6be4 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -40,6 +40,7 @@ xx/xx/2018 autofs-5.1.5 - fix hesiod string check in master_parse(). - remove autofs4 module load code. - add NULL check in prepare_attempt_prefix(). +- update build info with systemd. 19/12/2017 autofs-5.1.4 - fix spec file url. diff --git a/daemon/automount.c b/daemon/automount.c index 2c0def5..a99d6b3 100644 --- a/daemon/automount.c +++ b/daemon/automount.c @@ -1951,6 +1951,15 @@ static void show_build_info(void) } #endif +#ifdef WITH_SYSTEMD + printf("WITH_SYSTEMD "); + count = count + 13; + + if (count > 60) { + printf("\n "); + count = 0; + } +#endif #ifdef WITH_HESIOD printf("WITH_HESIOD ");