diff options
author | Cy Schubert <cy@FreeBSD.org> | 2015-01-06 06:33:52 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2015-01-06 06:33:52 +0000 |
commit | 77a0f0bdea66d4e66bd77e35870779f12d053d13 (patch) | |
tree | 9b47717168fd12590b52aa1a7feaf6a11068520d /net/ntp-devel/files | |
parent | Adjust MASTER_SITES. (diff) |
Ntp devel port now tracks ntp-4.2.8p1 betas as our upline works to
iron out bugs. We start with beta4.
Notes
Notes:
svn path=/head/; revision=376385
Diffstat (limited to 'net/ntp-devel/files')
-rw-r--r-- | net/ntp-devel/files/patch-ntpd__refclock__mx4200.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/net/ntp-devel/files/patch-ntpd__refclock__mx4200.c b/net/ntp-devel/files/patch-ntpd__refclock__mx4200.c new file mode 100644 index 000000000000..f0181520b7c3 --- /dev/null +++ b/net/ntp-devel/files/patch-ntpd__refclock__mx4200.c @@ -0,0 +1,25 @@ +--- ntpd/refclock_mx4200.c.orig 2014-12-19 11:56:52 UTC ++++ ntpd/refclock_mx4200.c +@@ -1572,7 +1572,7 @@ mx4200_debug(struct peer *peer, char *fm + * Print debug message to stdout + * In the future, we may want to get get more creative... + */ +- mvprintf(fmt, ap); ++ vprintf(fmt, ap); + + va_end(ap); + } +@@ -1613,11 +1613,11 @@ mx4200_send(peer, fmt, va_alist) + + cp = buf; + *cp++ = '$'; +- n = VSNPRINTF((cp, sizeof(buf) - 1, fmt, ap)); ++ n = vsnprintf(cp, sizeof(buf) - 1, fmt, ap); + ck = mx4200_cksum(cp, n); + cp += n; + ++n; +- n += SNPRINTF((cp, sizeof(buf) - n - 5, "*%02X\r\n", ck)); ++ n += snprintf(cp, sizeof(buf) - n - 5, "*%02X\r\n", ck); + + m = write(pp->io.fd, buf, (unsigned)n); + if (m < 0) |