diff options
Diffstat (limited to 'ntpshmmon.c')
-rw-r--r-- | ntpshmmon.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ntpshmmon.c b/ntpshmmon.c index fdb2e918..129a434b 100644 --- a/ntpshmmon.c +++ b/ntpshmmon.c @@ -85,7 +85,7 @@ int main(int argc, char **argv) } (void)printf("ntpshmmon version 1\n"); - (void)printf("Name Seen@ Clock Real L Prec\n"); + (void)printf("# Name Seen@ Clock Real L Prec\n"); do { /* the current segment */ @@ -114,7 +114,7 @@ int main(int argc, char **argv) } /* time stamp it */ clock_gettime(CLOCK_REALTIME, &shm_stat.tvc); - printf("%s %ld.%09ld %ld.%09ld %ld.%09ld %d %3d\n", + printf("sample %s %ld.%09ld %ld.%09ld %ld.%09ld %d %3d\n", ntp_name(i), (long)shm_stat.tvc.tv_sec, shm_stat.tvc.tv_nsec, (long)shm_stat.tvr.tv_sec, shm_stat.tvr.tv_nsec, |