From: Harlan Stenn Date: Sat, 30 Apr 2011 07:15:11 +0000 (-0400) Subject: [Bug 1901] Simulator does not set progname. X-Git-Tag: NTP_4_2_7P160~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=710af3cd233458ba966d1215701235aaa578fba8;p=thirdparty%2Fntp.git [Bug 1901] Simulator does not set progname. bk: 4dbbb6ffIp0L1aHF1sY03i6xTwqhQg --- diff --git a/ChangeLog b/ChangeLog index 89c67dfa8..21aa6595d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 1901] Simulator does not set progname. (4.2.7p159) 2011/04/28 Released by Harlan Stenn * Fix a couple of unused variable warnings. * cleanup in timespecops.c / timevalops.c diff --git a/ntpd/ntpd.c b/ntpd/ntpd.c index 19a1074c3..4b3c1d48c 100644 --- a/ntpd/ntpd.c +++ b/ntpd/ntpd.c @@ -268,6 +268,7 @@ main( char *argv[] ) { + progname = argv[0]; parse_cmdline_opts(&argc, &argv); #ifdef DEBUG debug = DESC(DEBUG_LEVEL).optOccCt;