From: Harlan Stenn Date: Wed, 16 May 2007 04:26:17 +0000 (-0400) Subject: [Bug 822] set progname once, early. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c0f6ecd58827f5b265bd2d903fbc0736ce0c1fb;p=thirdparty%2Fntp.git [Bug 822] set progname once, early. bk: 464a87e9kZVGPEEU2EaVo9xK9dSkjg --- diff --git a/ChangeLog b/ChangeLog index 08e523ba9e..82587648c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 822] set progname once, early. * [Bug 819] remove erroneous #if 0 in Windows completion port code. * The new config code missed an #ifdef for building without refclocks. * Distribute some files needed by the new config parsing code. diff --git a/ntpd/ntp_config.c b/ntpd/ntp_config.c index 5fa0d5b6ba..df9dc67da5 100644 --- a/ntpd/ntp_config.c +++ b/ntpd/ntp_config.c @@ -1819,7 +1819,6 @@ void getconfig(int argc,char *argv[]) alt_config_file = alt_config_file_storage; #endif /* SYS_WINNT */ - progname = argv[0]; res_fp = NULL; ntp_syslogmask = NLOG_SYNCMASK; /* set more via logconfig */