From: Juergen Perlinger Date: Wed, 12 Dec 2018 06:37:12 +0000 (+0100) Subject: [Bug 3560] Fix build when HAVE_DROPROOT is not defined X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f9c8033fa622c6d40519d679fd6f29b91b826cce;p=thirdparty%2Fntp.git [Bug 3560] Fix build when HAVE_DROPROOT is not defined bk: 5c10ac98ZztAdZHyrEypxOTq4x_tFQ --- diff --git a/ChangeLog b/ChangeLog index f381a093c..2048c8233 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +--- +* [Bug 3560] Fix build when HAVE_DROPROOT is not defined + - applied patch by Ian Lepore + --- (4.2.8p12) 2018/08/14 Released by Harlan Stenn diff --git a/libntp/work_fork.c b/libntp/work_fork.c index cce686f23..7bfa0c3e1 100644 --- a/libntp/work_fork.c +++ b/libntp/work_fork.c @@ -594,7 +594,9 @@ fork_blocking_child( init_logging("ntp_intres", 0, FALSE); setup_logfile(NULL); +#ifdef HAVE_DROPROOT (void) set_user_group_ids(); +#endif /* * And now back to the portable code