summaryrefslogtreecommitdiff
path: root/ntpshmmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'ntpshmmon.c')
-rw-r--r--ntpshmmon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ntpshmmon.c b/ntpshmmon.c
index f46bf1ca..e9234c89 100644
--- a/ntpshmmon.c
+++ b/ntpshmmon.c
@@ -112,6 +112,8 @@ int main(int argc, char **argv)
/* no change in tvt */
break;
}
+ /* time stamp it */
+ clock_gettime(CLOCK_REALTIME, &shm_stat.tvc);
printf("%s %ld.%09ld %ld.%09ld %ld.%09ld %d %3d\n",
ntp_name(i),
(long)shm_stat.tvc.tv_sec, shm_stat.tvc.tv_nsec,