From: Harlan Stenn Date: Mon, 22 Jul 2013 10:50:54 +0000 (-0400) Subject: [Bug 883] log warning arguments swapped in refclock_gpsvme.c X-Git-Tag: NTP_4_2_7P375~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=609284cb36e1eb8eced0ce9ca54621116d70b645;p=thirdparty%2Fntp.git [Bug 883] log warning arguments swapped in refclock_gpsvme.c bk: 51ed0e8esw-GPVmems_y2SzaDy_2Mg --- diff --git a/ChangeLog b/ChangeLog index d958cf336..08a68c7c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +* [Bug 883] log warning arguments swapped in refclock_gpsvme.c. * [Bug 2368] Correct bug in previous attempt. * [Bug 2413] Fix "make check" with automake >= 1.13. * [Bug 2434] Line-buffer (v. block-buffer) stdout. diff --git a/ntpd/refclock_gpsvme.c b/ntpd/refclock_gpsvme.c index 8d9f1f6d9..66ccc9a3e 100644 --- a/ntpd/refclock_gpsvme.c +++ b/ntpd/refclock_gpsvme.c @@ -173,7 +173,7 @@ psc_poll( if (!up->msg_flag[unit]) { /* write once to system log */ msyslog(LOG_WARNING, "SYNCHRONIZATION LOST on unit %1d, status %02x\n", - status, unit); + unit, status); up->msg_flag[unit] = 1; } return;