[ntp:rc-gpsvme] [Bug 883] New: log warning arguments swapped

Rode Biet via the NTP Bugzilla bugzilla at ntp.org
Tue Aug 7 20:37:39 UTC 2007


http://bugs.ntp.org/883

           Summary: log warning arguments swapped
           Product: ntp
           Version: 4.2.5
          Platform: All
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P3
         Component: refclock - gpsvme
        AssignedTo: rc-gpsvme at ntp.org
        ReportedBy: rodebiet at yahoo.com
                CC: bugs at ntp.org


in refclock_gpsvme.c

msyslog(LOG_WARNING, "SYNCHRONIZATION LOST on unit %1d, status %02x\n", status,
unit);

should be

msyslog(LOG_WARNING, "SYNCHRONIZATION LOST on unit %1d, status %02x\n", unit,
status);

the arguments unit and status are swapped.
please consider adding the prefix "0x" to the hex status.

-- 
Rode Biet <rodebiet at yahoo.com>



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the rc-gpsvme mailing list