summaryrefslogtreecommitdiff
path: root/net/ntp-devel/files
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2002-07-12 18:50:34 +0000
committerCy Schubert <cy@FreeBSD.org>2002-07-12 18:50:34 +0000
commita10ce4aa5f45c9b57b180ca86da37f2d23f179c9 (patch)
tree5037e6f02328740c914d4fbadc2cdde3ae59423b /net/ntp-devel/files
parentFix dependency (diff)
Fix jjy driver. This patch fixes an invalid command to the
C-DEX JST2000. Submitted by: nork Reviewed by: Harlan Stenn <stenn@whimsy.udel.edu>
Diffstat (limited to 'net/ntp-devel/files')
-rw-r--r--net/ntp-devel/files/patch-ntpd::refclock_jjy.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/ntp-devel/files/patch-ntpd::refclock_jjy.c b/net/ntp-devel/files/patch-ntpd::refclock_jjy.c
new file mode 100644
index 000000000000..b11e8c103a31
--- /dev/null
+++ b/net/ntp-devel/files/patch-ntpd::refclock_jjy.c
@@ -0,0 +1,11 @@
+--- ntpd/refclock_jjy.c.orig Tue Dec 4 23:22:52 2001
++++ ntpd/refclock_jjy.c Fri Jul 12 11:35:43 2002
+@@ -704,7 +704,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 ) ;
+ }
+