Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ntp/dist/ntpd 32 bit build fixes.



details:   https://anonhg.NetBSD.org/src/rev/0b9d417a7055
branches:  trunk
changeset: 325550:0b9d417a7055
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Dec 28 17:00:50 2013 +0000

description:
32 bit build fixes.

diffstat:

 external/bsd/ntp/dist/ntpd/ntp_io.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r c29191c4df86 -r 0b9d417a7055 external/bsd/ntp/dist/ntpd/ntp_io.c
--- a/external/bsd/ntp/dist/ntpd/ntp_io.c       Sat Dec 28 16:03:51 2013 +0000
+++ b/external/bsd/ntp/dist/ntpd/ntp_io.c       Sat Dec 28 17:00:50 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntp_io.c,v 1.11 2013/12/28 03:20:14 christos Exp $     */
+/*     $NetBSD: ntp_io.c,v 1.12 2013/12/28 17:00:50 christos Exp $     */
 
 /*
  * ntp_io.c - input/output routines for ntpd.  The socket-opening code
@@ -3307,8 +3307,8 @@
                                        tvp->tv_usec = (long)(ticks * 1e6 *
                                                              sys_tick);
                                }
-                               DPRINTF(4, ("fetch_timestamp: system usec network time stamp: %ld.%06ld\n",
-                                           tvp->tv_sec, (long)tvp->tv_usec));
+                               DPRINTF(4, ("fetch_timestamp: system usec network time stamp: %jd.%06ld\n",
+                                           (intmax_t)tvp->tv_sec, (long)tvp->tv_usec));
                                nts = tval_stamp_to_lfp(*tvp);
                                break;
 #endif  /* HAVE_TIMESTAMP */



Home | Main Index | Thread Index | Old Index