summaryrefslogtreecommitdiff
path: root/net/ntp-stable/files/patch-ntpd::refclock_jjy.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ntp-stable/files/patch-ntpd::refclock_jjy.c')
-rw-r--r--net/ntp-stable/files/patch-ntpd::refclock_jjy.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/ntp-stable/files/patch-ntpd::refclock_jjy.c b/net/ntp-stable/files/patch-ntpd::refclock_jjy.c
new file mode 100644
index 000000000000..4852ac012988
--- /dev/null
+++ b/net/ntp-stable/files/patch-ntpd::refclock_jjy.c
@@ -0,0 +1,11 @@
+--- ntpd/refclock_jjy.c.orig Thu Jan 17 10:40:53 2002
++++ ntpd/refclock_jjy.c Fri Jul 12 11:37:44 2002
+@@ -701,7 +701,7 @@
+ * 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 ) ;
+ }
+