diff options
author | Ian Kent <raven@themaw.net> | 2018-10-05 14:28:34 +0800 |
---|---|---|
committer | Ian Kent <raven@themaw.net> | 2018-10-15 11:36:11 +0800 |
commit | 6315e91adc22af4854fec2f1171c5b9f06859b22 (patch) | |
tree | 816897d93d667b92002830c207ed29e8a383c561 /daemon | |
parent | 2813119ded0adc5b931080c9c58eeed075c03805 (diff) | |
download | autofs-6315e91adc22af4854fec2f1171c5b9f06859b22.tar.gz |
autofs-5.1.4 - update build info with systemd
Update the show_build_info() function to include systemd
build info.
Signed-off-by: Ian Kent <raven@themaw.net>
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/automount.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/daemon/automount.c b/daemon/automount.c index 2c0def54..a99d6b33 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 "); |