summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/ntpd/refclock_jjy.c
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2002-11-04 19:36:11 +0000
committerroberto <roberto@FreeBSD.org>2002-11-04 19:36:11 +0000
commita85d9ae25e8e8696677bc30feb6eaf7fc150e529 (patch)
tree5071c8dbfd7605eec15909cabca2296957573ac7 /contrib/ntp/ntpd/refclock_jjy.c
parent8d541346f2b91896a9ef53cafe2b81898978ccf3 (diff)
downloadFreeBSD-src-a85d9ae25e8e8696677bc30feb6eaf7fc150e529.zip
FreeBSD-src-a85d9ae25e8e8696677bc30feb6eaf7fc150e529.tar.gz
Virgin import of ntpd 4.1.1b
Diffstat (limited to 'contrib/ntp/ntpd/refclock_jjy.c')
-rw-r--r--contrib/ntp/ntpd/refclock_jjy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ntp/ntpd/refclock_jjy.c b/contrib/ntp/ntpd/refclock_jjy.c
index 18de93a..dba6070 100644
--- a/contrib/ntp/ntpd/refclock_jjy.c
+++ b/contrib/ntp/ntpd/refclock_jjy.c
@@ -701,7 +701,7 @@ jjy_poll_cdex_jst2000 ( int unit, struct peer *peer )
* Send "<ENQ>1J<ETX>" command
*/
- if ( write ( pp->io.fd, "\x051J\x03", 4 ) != 4 ) {
+ if ( write ( pp->io.fd, "\0051J\003", 4 ) != 4 ) {
refclock_report ( peer, CEVNT_FAULT ) ;
}
OpenPOWER on IntegriCloud