]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Fix a typo.
authorHarlan Stenn <stenn@ntp.org>
Thu, 23 Feb 2006 01:01:03 +0000 (20:01 -0500)
committerHarlan Stenn <stenn@ntp.org>
Thu, 23 Feb 2006 01:01:03 +0000 (20:01 -0500)
bk: 43fd094fb-QN9Qk-3iVya4LKqMqZlQ

libntp/systime.c

index 05f47c65c7841716e3f2c08a197da0f09c596b53..4c7234a6e4c8b18930bdf2b0631cb156f9da6540 100644 (file)
@@ -81,7 +81,7 @@ get_systime(
         */
        GETTIMEOFDAY(&tv, NULL);
        now->l_i = tv.tv_sec + JAN_1970;
-       dtemp = ts.tv_nsec / 1e6;
+       dtemp = tv.tv_usec / 1e6;
 
        /*
         * ntp_random() produces 31 bits (always nonnegative.