[Git][NTPsec/ntpsec][master] Fix REFCLOCK typos in logging messages

Hal Murray gitlab at mg.gitlab.com
Sun Nov 26 10:15:43 UTC 2017


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
22f6ee7a by Hal Murray at 2017-11-26T02:08:49-08:00
Fix REFCLOCK typos in logging messages

- - - - -


3 changed files:

- ntpd/refclock_generic.c
- ntpd/refclock_gpsd.c
- ntpd/refclock_jjy.c


Changes:

=====================================
ntpd/refclock_generic.c
=====================================
--- a/ntpd/refclock_generic.c
+++ b/ntpd/refclock_generic.c
@@ -1546,7 +1546,7 @@ list_err(
 	if (do_it && err->err_suppressed)
 	{
 		msyslog(LOG_INFO, 
-                    "RECLOCK: PARSE receiver #%d: %lu message%s suppressed, error "
+                    "REFCLOCK: PARSE receiver #%d: %lu message%s suppressed, error "
                     "condition class persists for %s",
 		    parse->peer->procptr->refclkunit, err->err_suppressed,
                     (err->err_suppressed == 1) ? " was" : "s where",
@@ -2248,7 +2248,7 @@ parse_statistics(
 				l_mktime(current_time - parse->generic->timestarted));
 
 			msyslog(LOG_INFO,
-				"RFFCLOCK: PARSE receiver #%d: current status: %s",
+				"REFCLOCK: PARSE receiver #%d: current status: %s",
 				parse->peer->procptr->refclkunit,
 				clockstatus(parse->generic->currentstatus));
 
@@ -2968,7 +2968,7 @@ parse_poll(
 		parse_event(parse, CEVNT_TIMEOUT);
 
 		ERR(ERR_NODATA)
-			msyslog(LOG_WARNING, "RECLOCK: PARSE receiver #%d: no data from device within poll interval (check receiver / wiring)", parse->peer->procptr->refclkunit);
+			msyslog(LOG_WARNING, "REFCLOCK: PARSE receiver #%d: no data from device within poll interval (check receiver / wiring)", parse->peer->procptr->refclkunit);
 	}
 
 	/*


=====================================
ntpd/refclock_gpsd.c
=====================================
--- a/ntpd/refclock_gpsd.c
+++ b/ntpd/refclock_gpsd.c
@@ -1846,7 +1846,7 @@ gpsd_init_socket(
 	if (-1 == rc) {
 		if (syslogok(pp, up))
 			msyslog(LOG_ERR,
-				"RECLOCK: %s: cannot set GPSD socket to non-blocking: %m",
+				"REFCLOCK: %s: cannot set GPSD socket to non-blocking: %m",
 				up->logname);
 		goto no_socket;
 	}


=====================================
ntpd/refclock_jjy.c
=====================================
--- a/ntpd/refclock_jjy.c
+++ b/ntpd/refclock_jjy.c
@@ -2710,7 +2710,7 @@ jjy_start_telephone ( int unit, struct peer *peer, struct jjyunit *up )
 		} else if ( *(sys_phone[0]+i) == ',' ) {
 			iCommaCount ++ ;
 			if ( iCommaCount > 1 ) {
-				msyslog( LOG_ERR, "REFCCLOCK: refclock_jjy.c : jjy_start_telephone : phone in the ntpd.conf should be zero or one comma." ) ;
+				msyslog( LOG_ERR, "REFCLOCK: refclock_jjy.c : jjy_start_telephone : phone in the ntpd.conf should be zero or one comma." ) ;
 				up->bInitError = true ;
 				return true ;
 			}



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/22f6ee7af2f0784b535d28b176fa0f4d1915c20c

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/22f6ee7af2f0784b535d28b176fa0f4d1915c20c
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20171126/1ce160ae/attachment.html>


More information about the vc mailing list